diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-10-23 09:50:42 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-10-23 10:41:25 +0300 |
commit | 054fd40cc610e6c3fec1ef8e4940da05f2a4a4a1 (patch) | |
tree | d2732736820a41f1fa984fe18c7bb5fd5d37c360 | |
parent | e8a28c89641599f6408eb939a50e3a1dbaced906 (diff) | |
download | patches-054fd40cc610e6c3fec1ef8e4940da05f2a4a4a1.tar patches-054fd40cc610e6c3fec1ef8e4940da05f2a4a4a1.tar.gz |
gnu: Add rust-rand-0.6.
* gnu/packages/rust-cbindgen.scm (rust-rand-0.6): 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 8471830f8a..7280078555 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)))) |