aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-18 01:45:48 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-17 23:07:41 +0200
commit72270d7886a0f29ed613ca8d874d65b3dc96866d (patch)
tree29ae53499ca4a559958007b97e76d4f14869a511 /gnu
parent7ff032f1bf740319824c5cc072bf5f6e8e06a501 (diff)
downloadpatches-72270d7886a0f29ed613ca8d874d65b3dc96866d.tar
patches-72270d7886a0f29ed613ca8d874d65b3dc96866d.tar.gz
gnu: Add rust-rand-isaac-0.2.
* gnu/packages/crates-io.scm (rust-rand-isaac-0.2): New variable. (rust-rand-isaac-0.1): Inherit from rust-rand-isaac-0.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm38
1 files changed, 29 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ac3961fc02..1cb4ec4f7d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10047,8 +10047,36 @@ generator that uses the HC-128 algorithm.")
`(#:skip-build? #t
#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3))))))
+(define-public rust-rand-isaac-0.2
+ (package
+ (name "rust-rand-isaac")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_isaac" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0xlb9415x518ffkazxhvk8b04i9i548nva4i5l5s34crvjrv1xld"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#: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_isaac")
+ (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.1
(package
+ (inherit rust-rand-isaac-0.2)
(name "rust-rand-isaac")
(version "0.1.1")
(source
@@ -10059,21 +10087,13 @@ generator that uses the HC-128 algorithm.")
(sha256
(base32
"027flpjr4znx2csxk7gxb7vrf9c7y5mydmvg5az2afgisp4rgnfy"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-rand-core" ,rust-rand-core-0.3)
("rust-serde" ,rust-serde-1.0)
("rust-serde-derive" ,rust-serde-derive-1.0))
#:cargo-development-inputs
- (("rust-bincode" ,rust-bincode-1.1))))
- (home-page "https://crates.io/crates/rand_isaac")
- (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:asl2.0
- license:expat))))
+ (("rust-bincode" ,rust-bincode-1.1))))))
(define-public rust-rand-jitter-0.1
(package