From 1403ce8652f0b1944c2e246616df101bdd9e303f Mon Sep 17 00:00:00 2001 From: Herman Rimm Date: Sun, 18 Feb 2024 22:03:06 +0100 Subject: [PATCH] gnu: Add rust-dary-heap-0.3. * gnu/packages/crates-io.scm (rust-dary-heap-0.3): Add variable. Change-Id: Ibd6d2feea6321dd021ee940cf740b45eac9442fc Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a71fd70afd..f29dc994e3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17622,6 +17622,30 @@ (define-public rust-darling-macro-0.9 ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-dary-heap-0.3 + (package + (name "rust-dary-heap") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "dary_heap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jm04p72s7xij3cr71h59dw07s63nah5b10sh8akcr2129zx2qkp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/hanmertens/dary_heap") + (synopsis "D-ary heap") + (description "This package provides a d-ary heap.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dashmap-5 (package (name "rust-dashmap")