diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 12:14:27 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:17 +0200 |
commit | b43120651c185281377de68e27ba766d3eb04ad2 (patch) | |
tree | 2dd22919a033c089b6174b5e16f58421a4160b42 | |
parent | 9d0864aae90dec46b49df59252ae076f79a75dae (diff) |
gnu: Add rust-rand-xorshift-0.2.
* gnu/packages/crates-io.scm (rust-rand-xorshift-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b5ab1b3676..09ea5d0292 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3802,6 +3802,33 @@ useful types and distributions, and some randomness-related algorithms.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rand-xorshift-0.2 + (package + (name "rust-rand-xorshift") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xorshift" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a6wy76lc5fimm1n9n8fzhp4cfjwfwxh4hx63bg3vlh1d2w1dm3p")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.5) + ("rust-serde" ,rust-serde-1.0)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.1)))) + (home-page "https://crates.io/crates/rand-xorshift") + (synopsis "Xorshift random number generator") + (description + "Xorshift random number generator.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rand-xoshiro-0.3 (package (name "rust-rand-xoshiro") |