guix-commits
[Top][All Lists]
Advanced

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

10/62: gnu: Add rust-bitmaps-3.


From: guix-commits
Subject: 10/62: gnu: Add rust-bitmaps-3.
Date: Wed, 13 Mar 2024 16:22:15 -0400 (EDT)

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

commit 0d1272758e5e2453db853bcbabd6f10ef5fae52d
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:08 2024 +0100

    gnu: Add rust-bitmaps-3.
    
    * gnu/packages/crates-io.scm (rust-bitmaps-3): Add variable.
    (rust-bitmaps-2): Inherit from rust-bitmaps-3.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: Id28c99f61efdf21bb8b8bb14f42e66c12ed0a801
---
 gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c47fdda782..58318074c3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7121,32 +7121,46 @@ behave like a set of bitflags.")
     (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)
        (uri (crate-uri "bitmaps" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403"))))
+        (base32 "1mivd3wyyham6c8y21nq3ka29am6v8hqn7lzmwf91aks2fq89l51"))))
     (build-system cargo-build-system)
     (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))))
+     `(#:cargo-development-inputs
+       (("rust-proptest" ,rust-proptest-1)
+        ("rust-proptest-derive" ,rust-proptest-derive-0.4))))
     (home-page "https://github.com/bodil/bitmaps";)
     (synopsis "Fixed size compact boolean array in Rust")
     (description "This crate provides a convenient and efficient way of
 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")



reply via email to

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