From 4b34f3bcb28e19ce09326961c90fe294c05cf3fa Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Sat, 18 Jan 2020 01:52:00 +0300 Subject: [PATCH 057/275] gnu: Add rust-rand-xoshiro-0.4. * gnu/packages/crates-io.scm (rust-rand-xoshiro-0.4): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 67c999d033..6ecc8dda05 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9734,6 +9734,35 @@ generator that uses the HC-128 algorithm.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rand-xoshiro-0.4 + (package + (name "rust-rand-xoshiro") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand-xoshiro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "013h45rikipv5bda2ixmwx5rwsk9wpc7mr0a77cz20hxi0pdvz59")))) + (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_xoshiro") + (synopsis + "Xoshiro, xoroshiro and splitmix64 random number generators") + (description + "Xoshiro, xoroshiro and splitmix64 random number generators.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rand-xoshiro-0.3 (package (name "rust-rand-xoshiro") -- 2.25.0