From e017969bf0effa75c03fbec68ef369a4b418dd30 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 08:34:23 -0800 Subject: gnu: Add rust-bit-set-0.5. * gnu/packages/crates-io.scm (rust-bit-set-0.5): New variable. Signed-off-by: Efraim Flashner --- 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 db95b45a1f..61a325df3d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -456,6 +456,32 @@ and no more (caveat: black_box is still missing!).") that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) +(define-public rust-bit-set-0.5 + (package + (name "rust-bit-set") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bit-set" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "100ac8867bvbx9kv634w4xjk98b71i8nq4wdcvpf3cf4ha4j6k78")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bit-vec" ,rust-bit-vec-0.5)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/contain-rs/bit-set") + (synopsis "Set of bits") + (description + "This package provides a set of bits.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-bit-vec-0.5 (package (name "rust-bit-vec") -- cgit 1.4.1