diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 11:04:41 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:15 +0200 |
commit | d687f02fcf1add002ae8dfdb5fbf4797ac510de9 (patch) | |
tree | a7241a882079731a1249415c071854db2212e538 | |
parent | e1dc622f1e43745845625e4ff69345c5534db967 (diff) | |
download | guix-d687f02fcf1add002ae8dfdb5fbf4797ac510de9.tar.gz |
gnu: Add rust-bytes-0.4.
* gnu/packages/crates-io.scm (rust-bytes-0.4): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e306ab3bb0..91569851b7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -384,6 +384,36 @@ UTF-8.") little-endian.") (license (list license:expat license:unlicense)))) +(define-public rust-bytes-0.4 + (package + (name "rust-bytes") + (version "0.4.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytes" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0768a55q2fsqdjsvcv98ndg9dq7w2g44dvq1avhwpxrdzbydyvr0")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-either" ,rust-either-1.5) + ("rust-iovec" ,rust-iovec-0.1) + ("rust-serde" ,rust-serde-1.0)) + #:cargo-development-inputs + (("rust-serde-test" ,rust-serde-test-1.0)))) + (home-page "https://github.com/tokio-rs/bytes") + (synopsis + "Types and traits for working with bytes") + (description + "Types and traits for working with bytes.") + (license license:expat))) + (define-public rust-cargon-0.0 (package (name "rust-cargon") |