diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-10-23 09:51:51 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-10-23 10:43:50 +0300 |
commit | 235d82dfc093dc7b261892cb4a7138b3c74874e7 (patch) | |
tree | 6e56cfce2d6dd75c2013f8da7fd66b1b92504b5b | |
parent | 800bc0fbc35e64236f3b044083080a663c1b2e3f (diff) | |
download | guix-235d82dfc093dc7b261892cb4a7138b3c74874e7.tar guix-235d82dfc093dc7b261892cb4a7138b3c74874e7.tar.gz |
gnu: Add rust-rand-core-0.4.
* gnu/packages/rust-cbindgen.scm (rust-rand-core-0.4): New hidden
variable.
-rw-r--r-- | gnu/packages/rust-cbindgen.scm | 22 |
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)))) |