guix-commits
[Top][All Lists]
Advanced

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

02/41: gnu: Add rust-rand-0.3.


From: guix-commits
Subject: 02/41: gnu: Add rust-rand-0.3.
Date: Fri, 6 Sep 2019 08:47:25 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 2f8e436a29d9a64828d23c79e80d2c563fc3ca19
Author: Efraim Flashner <address@hidden>
Date:   Thu Sep 5 16:32:38 2019 +0300

    gnu: Add rust-rand-0.3.
    
    * gnu/packages/crates-io.scm (rust-rand-0.3): New variable.
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ad3de9..8fb2f87 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1540,6 +1540,24 @@ useful types and distributions, and some 
randomness-related algorithms.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-rand-0.3
+  (package
+    (inherit rust-rand)
+    (name "rust-rand")
+    (version "0.3.23")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rand" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc)
+        ("rust-rand" ,rust-rand))))))
+
 (define-public rust-rawpointer
   (package
     (name "rust-rawpointer")



reply via email to

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