diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 19:29:38 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 19:29:38 +0100 |
commit | 4c4bac95f5204357c7ad7d8661c26c32e19f1ea8 (patch) | |
tree | 7e3b2417a295d160f380585e365a3430a7e272ee | |
parent | e067cc3a98a9c66f4d3d997a19ad75a2b15101b9 (diff) | |
download | guix-4c4bac95f5204357c7ad7d8661c26c32e19f1ea8.tar.gz guix-4c4bac95f5204357c7ad7d8661c26c32e19f1ea8.zip |
gnu: Add rust-bytes-1.
* gnu/packages/crates-io.scm (rust-bytes-1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e75af2102d..59b444a538 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3207,29 +3207,48 @@ little-endian.") (("rust-quickcheck" ,rust-quickcheck-0.2) ("rust-rand" ,rust-rand-0.3)))))) -(define-public rust-bytes-0.6 +(define-public rust-bytes-1 (package (name "rust-bytes") - (version "0.6.0") + (version "1.0.0") (source (origin (method url-fetch) (uri (crate-uri "bytes" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05ivrcbgl4f7z2zzm9hbsi8cy66spi70xlm6fp16zsq4ylsvrp70")))) + (base32 "0wpsy2jwmbrsn7x6vcd00hw9vvz071lv8nrb25wrspvmkna8w7xd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-loom" ,rust-loom-0.3) + (("rust-loom" ,rust-loom-0.4) ("rust-serde-test" ,rust-serde-test-1)))) (home-page "https://github.com/tokio-rs/bytes") (synopsis "Types and traits for working with bytes") (description "This package is a utility library for working with bytes.") (license license:expat))) +(define-public rust-bytes-0.6 + (package + (inherit rust-bytes-1) + (name "rust-bytes") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05ivrcbgl4f7z2zzm9hbsi8cy66spi70xlm6fp16zsq4ylsvrp70")))) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-loom" ,rust-loom-0.3) + ("rust-serde-test" ,rust-serde-test-1)))))) + (define-public rust-bytes-0.5 (package (inherit rust-bytes-0.6) |