[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/40: gnu: Add rust-rand-hc-0.3.
From: |
guix-commits |
Subject: |
09/40: gnu: Add rust-rand-hc-0.3. |
Date: |
Sat, 23 Jan 2021 19:33:21 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit b7b7f9505ff1f9231c99856e813ffb13653a42b8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jan 24 00:09:44 2021 +0100
gnu: Add rust-rand-hc-0.3.
* gnu/packages/crates-io.scm (rust-rand-hc-0.3): New variable.
(rust-rand-hc-0.2): Inherit from above.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a43200a..6e79c16 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26542,8 +26542,32 @@ useful types and distributions, and some
randomness-related algorithms.")
"Sampling from random number distributions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rand-hc-0.3
+ (package
+ (name "rust-rand-hc")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_hc" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wra6ar22zdjkry9dsq1mg620m4h3qb9s8rfykkz4im4crqfz41i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rand-core" ,rust-rand-core-0.6))))
+ (home-page "https://crates.io/crates/rand_hc")
+ (synopsis "HC128 random number generator")
+ (description "This package provides a cryptographically secure random
number
+generator that uses the HC-128 algorithm.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rand-hc-0.2
(package
+ (inherit rust-rand-hc-0.3)
(name "rust-rand-hc")
(version "0.2.0")
(source
@@ -26554,16 +26578,9 @@ useful types and distributions, and some
randomness-related algorithms.")
(sha256
(base32
"0g31sqwpmsirdlwr0svnacr4dbqyz339im4ssl9738cjgfpjjcfa"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-rand-hc" ,rust-rand-core-0.5))))
- (home-page "https://crates.io/crates/rand_hc")
- (synopsis "HC128 random number generator")
- (description "This package provides a cryptographically secure random
number
-generator that uses the HC-128 algorithm.")
- (license (list license:asl2.0
- license:expat))))
+ (("rust-rand-hc" ,rust-rand-core-0.5))))))
(define-public rust-rand-hc-0.1
(package
- branch master updated (51bcc29 -> d94f753), guix-commits, 2021/01/23
- 02/40: gnu: Add rust-unic-ucd-version-0.9., guix-commits, 2021/01/23
- 03/40: gnu: Add rust-unic-char-range-0.9., guix-commits, 2021/01/23
- 01/40: gnu: Add rust-unic-common-0.9., guix-commits, 2021/01/23
- 05/40: gnu: Add rust-unic-ucd-segment-0.9., guix-commits, 2021/01/23
- 07/40: gnu: Add rust-deunicode-0.4., guix-commits, 2021/01/23
- 04/40: gnu: Add rust-unic-char-property-0.9., guix-commits, 2021/01/23
- 06/40: gnu: Add rust-unic-segment-0.9., guix-commits, 2021/01/23
- 08/40: gnu: Add rust-slug-0.1., guix-commits, 2021/01/23
- 09/40: gnu: Add rust-rand-hc-0.3.,
guix-commits <=
- 10/40: gnu: Add rust-rand-core-0.6., guix-commits, 2021/01/23
- 11/40: gnu: Add rust-rand-chacha-0.3., guix-commits, 2021/01/23
- 13/40: gnu: rust-globwalk-0.8: Update to 0.8.1., guix-commits, 2021/01/23
- 17/40: gnu: rust-yaml-rust-0.4: Update to 0.4.5., guix-commits, 2021/01/23
- 21/40: gnu: rust-serde-json-1: Update to 1.0.61., guix-commits, 2021/01/23
- 18/40: gnu: rust-unindent-0.1: Update to 0.1.7., guix-commits, 2021/01/23
- 20/40: gnu: rust-serde-yaml-0.8: Update to 0.8.15., guix-commits, 2021/01/23
- 22/40: gnu: rust-regex-syntax-0.6: Update to 0.6.22., guix-commits, 2021/01/23
- 23/40: gnu: rust-regex-1: Update to 1.4.3., guix-commits, 2021/01/23
- 26/40: gnu: rust-which-2: Remove minor version from variable name., guix-commits, 2021/01/23