Subject: [PATCH 010/228] gnu: Add rust-bitmaps-3.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:02:08 +0100

* gnu/packages/crates-io.scm (rust-bitmaps-3): Add variable.
(rust-bitmaps-2): Inherit from rust-bitmaps-3.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dcd373e4cb..c2cb078887 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7116,10 +7116,10 @@ (define-public rust-bitflags-0.2
     (build-system cargo-build-system)
     (arguments `(#:skip-build? #t))))
 
-(define-public rust-bitmaps-2
+(define-public rust-bitmaps-3
   (package
     (name "rust-bitmaps")
-    (version "2.1.0")
+    (version "3.2.1")
     (source
      (origin
        (method url-fetch)
@@ -7128,13 +7128,11 @@ (define-public rust-bitmaps-2
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403"))))
+         "1mivd3wyyham6c8y21nq3ka29am6v8hqn7lzmwf91aks2fq89l51"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-typenum" ,rust-typenum-1))
-       #:cargo-development-inputs
-       (("rust-proptest" ,rust-proptest-0.9)
+     `(#:cargo-development-inputs
+       (("rust-proptest" ,rust-proptest-1)
         ("rust-proptest-derive" ,rust-proptest-derive-0.1))))
     (home-page "https://github.com/bodil/bitmaps")
     (synopsis "Fixed size compact boolean array in Rust")
@@ -7142,6 +7140,27 @@ (define-public rust-bitmaps-2
 declaring and working with fixed size bitmaps in Rust.")
     (license license:mpl2.0)))
 
+(define-public rust-bitmaps-2
+  (package
+    (inherit rust-bitmaps-3)
+    (name "rust-bitmaps")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bitmaps" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-typenum" ,rust-typenum-1))
+       #:cargo-development-inputs
+       (("rust-proptest" ,rust-proptest-0.9)
+        ("rust-proptest-derive" ,rust-proptest-derive-0.1))))))
+
 (define-public rust-bitpacking-0.8
   (package
     (name "rust-bitpacking")
-- 
2.41.0