aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 09:51:51 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:43:50 +0300
commit235d82dfc093dc7b261892cb4a7138b3c74874e7 (patch)
tree6e56cfce2d6dd75c2013f8da7fd66b1b92504b5b /gnu
parent800bc0fbc35e64236f3b044083080a663c1b2e3f (diff)
downloadpatches-235d82dfc093dc7b261892cb4a7138b3c74874e7.tar
patches-235d82dfc093dc7b261892cb4a7138b3c74874e7.tar.gz
gnu: Add rust-rand-core-0.4.
* gnu/packages/rust-cbindgen.scm (rust-rand-core-0.4): New hidden variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust-cbindgen.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index e63448cdb8..4f15d33eef 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))))