guix-commits
[Top][All Lists]
Advanced

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

18/54: gnu: Add rust-rand-0.5.


From: guix-commits
Subject: 18/54: gnu: Add rust-rand-0.5.
Date: Tue, 21 Jan 2020 09:35:23 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 922b65d05ec013693ea54bdf8220048047cd2e04
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 20 21:23:07 2020 +0200

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3e30828..8c3c31a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8034,6 +8034,35 @@ useful types and distributions, and some 
randomness-related algorithms.")
        #:cargo-development-inputs
        (("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1))))))
 
+(define-public rust-rand-0.5
+  (package
+    (inherit rust-rand-0.7)
+    (name "rust-rand")
+    (version "0.5.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rand" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1fdcgja9167hlzkf4g5daqwp498lwiyq7aqm05whklpbsdyc8666"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-cloudabi" ,rust-cloudabi-0.0)
+        ("rust-fuchsia-cprng" ,rust-fuchsia-cprng-0.1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-rand-core" ,rust-rand-core-0.3)
+        ("rust-serde" ,rust-serde-1.0)
+        ("rust-serde-derive" ,rust-serde-derive-1.0)
+        ("rust-stdweb" ,rust-stdweb-0.4)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1.1))))))
+
 (define-public rust-rand-0.4
   (package
     (inherit rust-rand-0.6)



reply via email to

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