guix-commits
[Top][All Lists]
Advanced

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

30/54: gnu: Add rust-rand-core-0.2.


From: guix-commits
Subject: 30/54: gnu: Add rust-rand-core-0.2.
Date: Tue, 21 Jan 2020 09:35:27 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 790c528525aa31839752ba3d59b1cc4c0e4c10de
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 20 21:44:57 2020 +0200

    gnu: Add rust-rand-core-0.2.
    
    * gnu/packages/crates-io.scm (rust-rand-core-0.2): 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 54ac960..e096a77 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8333,6 +8333,25 @@ useful types and distributions, and some 
randomness-related algorithms.")
      `(#:skip-build? #t
        #:cargo-inputs (("rand-core" ,rust-rand-core-0.4))))))
 
+(define-public rust-rand-core-0.2
+  (package
+    (inherit rust-rand-core-0.5)
+    (name "rust-rand-core")
+    (version "0.2.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rand-core" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0wikbw2a36bz8ywjyycjrd7db6ra3yzj14zs1ysxz2fiqhia8q8r"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-rand-core" ,rust-rand-core-0.3))))))
+
 (define-public rust-rand-hc-0.2
   (package
     (name "rust-rand-hc")



reply via email to

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