guix-commits
[Top][All Lists]
Advanced

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

17/45: gnu: Add rust-rand-core-0.4.


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

efraim pushed a commit to branch master
in repository guix.

commit 235d82dfc093dc7b261892cb4a7138b3c74874e7
Author: Efraim Flashner <address@hidden>
Date:   Wed Oct 23 09:51:51 2019 +0300

    gnu: Add rust-rand-core-0.4.
    
    * gnu/packages/rust-cbindgen.scm (rust-rand-core-0.4): 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 e63448c..4f15d33 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -361,3 +361,25 @@ functionality.")
     (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))
+
+(define rust-rand-core-0.4
+  (package
+    (name "rust-rand-core")
+    (version "0.4.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rand_core" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "1p09ynysrq1vcdlmcqnapq4qakl2yd1ng3kxh3qscpx09k2a6cww"))))
+    (build-system cargo-build-system)
+    (home-page "https://crates.io/crates/rand_core";)
+    (synopsis
+      "Core random number generator traits and tools for implementation.")
+    (description
+      "Core random number generator traits and tools for implementation.")
+    (properties '((hidden? . #t)))
+    (license (list license:asl2.0
+                   license:expat))))



reply via email to

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