guix-commits
[Top][All Lists]
Advanced

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

15/45: gnu: Add rust-rand-0.6.


From: guix-commits
Subject: 15/45: gnu: Add rust-rand-0.6.
Date: Wed, 23 Oct 2019 03:49:13 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 054fd40cc610e6c3fec1ef8e4940da05f2a4a4a1
Author: Efraim Flashner <address@hidden>
Date:   Wed Oct 23 09:50:42 2019 +0300

    gnu: Add rust-rand-0.6.
    
    * gnu/packages/rust-cbindgen.scm (rust-rand-0.6): New hidden variable.
---
 gnu/packages/rust-cbindgen.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 8471830..7280078 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -319,3 +319,25 @@ in terms of the upstream unstable API.")
     (description "Quasi-quoting macro quote!(...)")
     (properties '((hidden? . #t)))
     (license (list license:expat license:asl2.0))))
+
+(define rust-rand-0.6
+  (package
+    (name "rust-rand")
+    (version "0.6.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rand" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "1jl4449jcl4wgmzld6ffwqj5gwxrp8zvx8w573g1z368qg6xlwbd"))))
+    (build-system cargo-build-system)
+    (home-page "https://crates.io/crates/rand";)
+    (synopsis "Random number generators and other randomness functionality")
+    (description
+     "This package contains random number generators and other randomness
+functionality.")
+    (properties '((hidden? . #t)))
+    (license (list license:asl2.0
+                   license:expat))))



reply via email to

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