From 6c241151a9650cd7066f5e2e9441b4fbf30e66c2 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 12:10:43 -0800 Subject: [PATCH 047/263] gnu: Add rust-rand-xoshiro-0.3. * gnu/packages/crates-io.scm (rust-rand-xoshiro-0.3): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 723ee04876..e7f62416bc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3847,6 +3847,36 @@ useful types and distributions, and some randomness-related algorithms.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rand-xoshiro-0.3 + (package + (name "rust-rand-xoshiro") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xoshiro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07w3qgrac8r356lz5vqff42rly6yd9vs3g5lx5pbn13rcmb05rqb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("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://github.com/rust-random/rand") + (synopsis + "Xoshiro, xoroshiro and splitmix64 random number generators") + (description + "Xoshiro, xoroshiro and splitmix64 random number generators.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-rawpointer-0.1 (package (name "rust-rawpointer") -- 2.24.1