aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 09:59:30 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:43:58 +0300
commit308480c3d6eeada2f0d2ff3648acb4b204748dfc (patch)
tree26855e52e697136e41bafbc499d3e54284df3b13
parent1e956eb02bb6cce64d805ddee92fee4b567d64fb (diff)
downloadpatches-308480c3d6eeada2f0d2ff3648acb4b204748dfc.tar
patches-308480c3d6eeada2f0d2ff3648acb4b204748dfc.tar.gz
gnu: Add rust-rand-xorshift-0.1.
* gnu/packages/rust-cbindgen.scm (rust-rand-xorshift-0.1): New hidden variable.
-rw-r--r--gnu/packages/rust-cbindgen.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index d3c75eef9c..c259a7317b 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -504,3 +504,24 @@ functionality.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
+
+(define rust-rand-xorshift-0.1
+ (package
+ (name "rust-rand-xorshift")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_xorshift" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "0p2x8nr00hricpi2m6ca5vysiha7ybnghz79yqhhx6sl4gkfkxyb"))))
+ (build-system cargo-build-system)
+ (home-page "https://crates.io/crates/rand_xorshift")
+ (synopsis "Xorshift random number generator")
+ (description
+ "Xorshift random number generator")
+ (properties '((hidden? . #t)))
+ (license (list license:asl2.0
+ license:expat))))