From 94b41147c22d3a1ec41f3629c2c3ca6a3a66942b Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 3 Jun 2021 16:33:19 -0400 Subject: gnu: Add rust-bitmaps-2. * gnu/packages/crates-io.scm (rust-bitmaps-2): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1922c40419..cdf3b1ef92 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4864,6 +4864,32 @@ behave like a set of bitflags.") (build-system cargo-build-system) (arguments `(#:skip-build? #t)))) +(define-public rust-bitmaps-2 + (package + (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")))) + (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)))) + (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-bitstream-io-1 (package (name "rust-bitstream-io") -- cgit v1.2.3