Subject: [bug#69363] [PATCH 76/87] gnu: Add rust-hashbag-0.1.12.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:40:14 +0100

* gnu/packages/crates-io.scm (rust-hashbag-0.1): New variable.

Change-Id: Ide0d0cfe1e19f1c3bd62e5640cf40db2ebdbdd9e
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1c7793e7a..cbcd7ed703 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28326,6 +28326,29 @@ (define-public rust-hash32-derive-0.1
 @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")
-- 
2.41.0