Subject: [bug#49383] [PATCH v2 05/26] gnu: Add rust-bit-vec-0.6

From: Domagoj Stolfa <[email-masked]>
Date: Sun, 11 Jul 2021 15:55:37 +0100

* gnu/packages/crates-io.scm (rust-bit-vec-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a725e6940c..43b2a75eb9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5209,6 +5209,34 @@ streams in big-endian and little-endian formats.")
          "00a6wy54s1dmadm5xz8k2cbsd7ixvm48mlc45bk0fdy0pbra6jk1"))))
     (arguments `(#:skip-build? #t))))
 
+(define-public rust-bit-vec-0.6
+  (package
+    (name "rust-bit-vec")
+    (version "0.6.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "bit-vec" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-rand" ,rust-rand-0.7)
+         ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page
+      "https://github.com/contain-rs/bit-vec")
+    (synopsis "Rust implementation of a vector of bits")
+    (description
+      "This package provides a vector of bits.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bitvec-0.19
   (package
     (name "rust-bitvec")
-- 
2.32.0