guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

80/330: gnu: Add rust-dary-heap-0.3.


From: guix-commits
Subject: 80/330: gnu: Add rust-dary-heap-0.3.
Date: Mon, 18 Mar 2024 07:15:19 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit f865c43de1fd6be0f2f5d3e3558e9f1ab26d94a9
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:03:06 2024 +0100

    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 <efraim@flashner.co.il>
---
 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 2f18315457..74a425131f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17561,6 +17561,30 @@ custom derives.")
         ("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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]