mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 15:26:47 +01:00
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>
This commit is contained in:
parent
9d0864aae9
commit
b43120651c
1 changed files with 27 additions and 0 deletions
|
@ -3802,6 +3802,33 @@ (define-public rust-rand-xorshift-0.1
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
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
|
(define-public rust-rand-xoshiro-0.3
|
||||||
(package
|
(package
|
||||||
(name "rust-rand-xoshiro")
|
(name "rust-rand-xoshiro")
|
||||||
|
|
Loading…
Reference in a new issue