mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 18:38:57 -05:00
gnu: Add rust-rand-os-0.2.
* gnu/packages/crates-io.scm (rust-rand-os-0.2): New variable. (rust-rand-os-0.1): Inherit from rust-rand-os-0.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
b4971bb6a7
commit
7d041f88ad
1 changed files with 28 additions and 7 deletions
|
@ -6625,8 +6625,34 @@ (define-public rust-rand-jitter-0.1
|
|||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-rand-os-0.2
|
||||
(package
|
||||
(name "rust-rand-os")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "rand_os" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"06is69f8rfzs620g5b54k6cgy5yaycrsyqg55flyfrsf8g88733f"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-getrandom" ,rust-getrandom-0.1)
|
||||
("rust-rand-core" ,rust-rand-core-0.5))))
|
||||
(home-page "https://crates.io/crates/rand-os")
|
||||
(synopsis "OS backed Random Number Generator")
|
||||
(description "OS backed Random Number Generator")
|
||||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-rand-os-0.1
|
||||
(package
|
||||
(inherit rust-rand-os-0.2)
|
||||
(name "rust-rand-os")
|
||||
(version "0.1.3")
|
||||
(source
|
||||
|
@ -6637,13 +6663,8 @@ (define-public rust-rand-os-0.1
|
|||
(sha256
|
||||
(base32
|
||||
"0wahppm0s64gkr2vmhcgwc0lij37in1lgfxg5rbgqlz0l5vgcxbv"))))
|
||||
(build-system cargo-build-system)
|
||||
(home-page "https://crates.io/crates/rand_os")
|
||||
(synopsis "OS backed Random Number Generator")
|
||||
(description "OS backed Random Number Generator")
|
||||
(properties '((hidden? . #t)))
|
||||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
(arguments `())
|
||||
(properties '((hidden? . #t)))))
|
||||
|
||||
(define-public rust-rand-pcg-0.1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue