From 0bce3ebdd3f79c4bdc5e1a00d08b132a9f92d2cf Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 19:30:43 +0200 Subject: [PATCH] gnu: Add rust-rand-xoshiro-0.1. * gnu/packages/crates-io.scm (rust-rand-xoshiro-0.1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 201f500666..2e3e8a9132 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7857,6 +7857,29 @@ useful types and distributions, and some randomness-related algorithms.") "Xoshiro, xoroshiro and splitmix64 random number generators.") (license (list license:expat license:asl2.0)))) +(define-public rust-rand-xoshiro-0.1 + (package + (inherit rust-rand-xoshiro-0.3) + (name "rust-rand-xoshiro") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xoshiro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ac9ha6ll8b6l1930bd99k29jrjpsbpddvr6ycrnbi5rkwb1id03")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-rand-core" ,rust-rand-core-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.6)))))) + (define-public rust-rawpointer-0.1 (package (name "rust-rawpointer")