guix-commits
[Top][All Lists]
Advanced

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

54/135: gnu: Add rust-hashbag-0.1.


From: guix-commits
Subject: 54/135: gnu: Add rust-hashbag-0.1.
Date: Wed, 27 Mar 2024 04:54:53 -0400 (EDT)

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

commit f3b01c9587f4f69596d69793a86977a475c303a7
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:40:14 2024 +0100

    gnu: Add rust-hashbag-0.1.
    
    * gnu/packages/crates-io.scm (rust-hashbag-0.1): New variable.
    
    Change-Id: Ide0d0cfe1e19f1c3bd62e5640cf40db2ebdbdd9e
    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 c163d316ab..48693a9203 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29954,6 +29954,30 @@ already-hashed or hash-like data.")
 @code{#[derive(Hash32)]}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hashbag-0.1
+  (package
+    (name "rust-hashbag")
+    (version "0.1.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hashbag" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14wx5rx11h0nb1rmlwmiw7719q2qf941x7ipcdg8yahb0sr99x4q"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-griddle" ,rust-griddle-0.5)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+                                   ("rust-serde" ,rust-serde-1)
+                                   ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/jonhoo/hashbag.git";)
+    (synopsis "Unordered multiset implementation using a hash bag")
+    (description
+     "This crate implements an unordered multiset implementation using a hash 
bag.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hashbrown-0.14
   (package
     (name "rust-hashbrown")



reply via email to

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