summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 12:10:43 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:17 +0200
commit9d0864aae90dec46b49df59252ae076f79a75dae (patch)
tree7cbdf2b434e986e3c524cbb31e53d438e1ab6428 /gnu/packages
parentceebedc4337a041461134588288a7121302ae6ae (diff)
gnu: Add rust-rand-xoshiro-0.3.
* gnu/packages/crates-io.scm (rust-rand-xoshiro-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index acdbb1a2df..b5ab1b3676 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3802,6 +3802,35 @@ 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 (list license:expat license:asl2.0))))
+
(define-public rust-rawpointer-0.1
(package
(name "rust-rawpointer")