From 09390aa313f918c1d72055dcb5f8087aec9d503a Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 08:34:23 -0800 Subject: [PATCH 168/263] gnu: Add rust-bit-set-0.5. * gnu/packages/crates-io.scm (rust-bit-set-0.5): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 99f64de08f..5d401a7ad5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -461,6 +461,33 @@ 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 `(,license:asl2.0 ,license:expat)))) + (define-public rust-bit-vec-0.5 (package (name "rust-bit-vec") -- 2.24.1