guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: Add rust-bytes-0.3.


From: guix-commits
Subject: 03/04: gnu: Add rust-bytes-0.3.
Date: Tue, 18 Feb 2020 07:12:48 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 2ebb82cae308c8a10d73626b461c668c301483c8
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Feb 18 14:06:51 2020 +0200

    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 ae00f6b..3b52ded 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]