diff options
author | Domagoj Stolfa <domagoj.stolfa@gmail.com> | 2021-07-11 15:55:37 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-07-13 15:14:14 +0300 |
commit | c5c83bd71266d751bae62e955bc44db60f0eca49 (patch) | |
tree | e0b4dbe8ebe9e441a2e47674cb6d990fd83e3693 | |
parent | 90880980a71558ba093600a52013d13d614bf00a (diff) | |
download | guix-c5c83bd71266d751bae62e955bc44db60f0eca49.tar.gz |
gnu: Add rust-bit-vec-0.6.
* gnu/packages/crates-io.scm (rust-bit-vec-0.6): New variable. (rust-bit-vec-0.5): Inherit from rust-bit-vec-0.6. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 658ce65267..43cba717db 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4985,8 +4985,36 @@ types.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-bit-vec-0.6 + (package + (name "rust-bit-vec") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "bit-vec" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.7) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.2) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/contain-rs/bit-vec") + (synopsis "Vector of bits") + (description + "This package provides a vector of bits.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bit-vec-0.5 (package + (inherit rust-bit-vec-0.6) (name "rust-bit-vec") (version "0.5.1") (source @@ -4998,18 +5026,12 @@ types.") (sha256 (base32 "1fyh8221s6cxlmng01v8v2ljhavzawqqs8r1xjc66ap5sjavx6zm")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/contain-rs/bit-vec") - (synopsis "Vector of bits") - (description - "This package provides a vector of bits.") - (license (list license:expat license:asl2.0)))) + (("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-bit-vec-0.4 (package |