mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-rand-hc-0.2.
* gnu/packages/crates-io.scm (rust-rand-hc-0.2): New variable. (rust-rand-hc-0.1): Inherit from rust-rand-hc-0.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
2d92286de6
commit
56beba471b
1 changed files with 26 additions and 7 deletions
|
@ -7793,8 +7793,33 @@ useful types and distributions, and some randomness-related algorithms.")
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs (("rand-core" ,rust-rand-core-0.4))))))
|
#:cargo-inputs (("rand-core" ,rust-rand-core-0.4))))))
|
||||||
|
|
||||||
|
(define-public rust-rand-hc-0.2
|
||||||
|
(package
|
||||||
|
(name "rust-rand-hc")
|
||||||
|
(version "0.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "rand_hc" version))
|
||||||
|
(file-name (string-append name "-" version ".crate"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0g31sqwpmsirdlwr0svnacr4dbqyz339im4ssl9738cjgfpjjcfa"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#: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))))
|
||||||
|
|
||||||
(define-public rust-rand-hc-0.1
|
(define-public rust-rand-hc-0.1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-rand-hc-0.2)
|
||||||
(name "rust-rand-hc")
|
(name "rust-rand-hc")
|
||||||
(version "0.1.0")
|
(version "0.1.0")
|
||||||
(source
|
(source
|
||||||
|
@ -7807,13 +7832,7 @@ useful types and distributions, and some randomness-related algorithms.")
|
||||||
"1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v"))))
|
"1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v"))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3))))
|
#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3))))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(home-page "https://crates.io/crates/rand_hc")
|
|
||||||
(synopsis "HC128 random number generator")
|
|
||||||
(description "HC128 random number generator")
|
|
||||||
(license (list license:asl2.0
|
|
||||||
license:expat))))
|
|
||||||
|
|
||||||
(define-public rust-rand-isaac-0.1
|
(define-public rust-rand-isaac-0.1
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue