aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-18 14:06:51 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-18 14:11:33 +0200
commit2ebb82cae308c8a10d73626b461c668c301483c8 (patch)
treee0136977d0f71d028fc8025e98f38cb8fbecddf5
parent15b6bb4198e9eeed80c249e46ececfd054018d10 (diff)
downloadpatches-2ebb82cae308c8a10d73626b461c668c301483c8.tar
patches-2ebb82cae308c8a10d73626b461c668c301483c8.tar.gz
gnu: Add rust-bytes-0.3.
* gnu/packages/crates-io.scm (rust-bytes-0.3): New variable.
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
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")