summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-10 10:32:20 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:12 +0000
commit2f06d1bb51aea0e224803bb0a6a44de6d295b8ce (patch)
tree3d7b8a6c22e55cc0911f8edb5adfddc72935d7dc /gnu/packages
parente182b691ea03eec7e69b2fd18c03f9feeba5edfe (diff)
gnu: Add rust-rand-isaac-0.3.
* gnu/packages/crates-io.scm (rust-rand-isaac-0.3): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c0d703b78a..605d93d377 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39566,6 +39566,32 @@ generator that uses the HC-128 algorithm.")
(arguments
`(#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3))))))
+(define-public rust-rand-isaac-0.3
+ (package
+ (name "rust-rand-isaac")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_isaac" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0a0b188s960qknwwgvpn7zpq3fzdhvrb0gsm5ir5akqvv4y3gi7s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1))))
+ (home-page "https://rust-random.github.io/book/")
+ (synopsis "ISAAC random number generator")
+ (description "This package implements the @code{ISAAC} and @code{ISAAC-64}
+random number generators. ISAAC stands for \"Indirection, Shift, Accumulate,
+Add, and Count\" which are the principal bitwise operations employed.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rand-isaac-0.2
(package
(name "rust-rand-isaac")