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
This commit is contained in:
Herman Rimm 2024-02-18 22:02:08 +01:00 committed by Efraim Flashner
parent bda151d24a
commit 3eaba5bd6b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7142,31 +7142,45 @@ (define-public rust-bitflags-0.2
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))))
(define-public rust-bitmaps-3
(package
(name "rust-bitmaps")
(version "3.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "bitmaps" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mivd3wyyham6c8y21nq3ka29am6v8hqn7lzmwf91aks2fq89l51"))))
(build-system cargo-build-system)
(arguments
`(#: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"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403"))))
(build-system cargo-build-system)
(base32 "18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403"))))
(arguments
`(#:cargo-inputs
(("rust-typenum" ,rust-typenum-1))
`(#:cargo-inputs (("rust-typenum" ,rust-typenum-1))
#:cargo-development-inputs
(("rust-proptest" ,rust-proptest-0.9)
("rust-proptest-derive" ,rust-proptest-derive-0.1))))
(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)))
("rust-proptest-derive" ,rust-proptest-derive-0.1))))))
(define-public rust-bitpacking-0.8
(package