From 2ebb82cae308c8a10d73626b461c668c301483c8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 18 Feb 2020 14:06:51 +0200 Subject: gnu: Add rust-bytes-0.3. * gnu/packages/crates-io.scm (rust-bytes-0.3): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae00f6b360..3b52ded303 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1352,6 +1352,25 @@ little-endian.") "Types and traits for working with bytes.") (license license:expat))) +(define-public rust-bytes-0.3 + (package + (inherit rust-bytes-0.4) + (name "rust-bytes") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytes" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09vcp9kh12pva2xn2ir79k90v1a0id8f4sdv1abn5ifw2bqsyaf1")))) + (arguments + `(#:tests? #f ; Tests not distributed in crate. + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3)))))) + (define-public rust-c2-chacha-0.2 (package (name "rust-c2-chacha") -- cgit v1.2.3