mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 15:26:47 +01:00
gnu: Add rust-rand-core-0.5.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
85e7ee5329
commit
77032bf704
1 changed files with 27 additions and 0 deletions
|
@ -2953,6 +2953,33 @@ (define-public rust-rand-chacha-0.1
|
|||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-rand-core-0.5
|
||||
(package
|
||||
(name "rust-rand-core")
|
||||
(version "0.5.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "rand_core" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1jis94x9ri8xlxki2w2w5k29sjpfwgzkjylg7paganp74hrnhpk1"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-getrandom" ,rust-getrandom-0.1)
|
||||
("rust-serde" ,rust-serde-1.0)
|
||||
("rust-serde-derive" ,rust-serde-derive-1.0))))
|
||||
(home-page "https://crates.io/crates/rand-core")
|
||||
(synopsis
|
||||
"Core random number generator traits and tools for implementation")
|
||||
(description
|
||||
"Core random number generator traits and tools for implementation.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-rand-core-0.4
|
||||
(package
|
||||
(name "rust-rand-core")
|
||||
|
|
Loading…
Reference in a new issue