aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-02-18 22:02:08 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:40:44 +0300
commit3eaba5bd6bb74b0eb358c3017a3c630cd823a5c4 (patch)
tree9151e2bbb156349ff323ae72d9b538d88dd82524
parentbda151d24aeee8dde523d4ccc560e2d77d7dcce6 (diff)
downloadguix-3eaba5bd6bb74b0eb358c3017a3c630cd823a5c4.tar.gz
guix-3eaba5bd6bb74b0eb358c3017a3c630cd823a5c4.zip
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
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 25 insertions, 11 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7460ccc0d..8f2e721e73 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7142,32 +7142,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")