me
/
guix
Archived
1
0
Fork 0

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>
master
John Soo 2019-12-14 12:14:27 -08:00 committed by Efraim Flashner
parent 9d0864aae9
commit b43120651c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 27 additions and 0 deletions

View File

@ -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")