mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: Add rust-getrandom-0.2.
* gnu/packages/crates-io.scm (rust-getrandom-0.2): New variable. (rust-getch-0.2): Inherit from above.
This commit is contained in:
parent
3daf1cc4c6
commit
fd9e53bf79
1 changed files with 32 additions and 8 deletions
|
@ -11743,8 +11743,39 @@ (define-public rust-getopts-0.2
|
||||||
(license (list license:asl2.0
|
(license (list license:asl2.0
|
||||||
license:expat))))
|
license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-getrandom-0.2
|
||||||
|
(package
|
||||||
|
(name "rust-getrandom")
|
||||||
|
(version "0.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "getrandom" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1x3clmvj5k2h9qv3ihbyif1rns3pf5y5n66f5jjyc5zr6v7jb07f"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-cfg-if" ,rust-cfg-if-0.1)
|
||||||
|
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
|
||||||
|
("rust-stdweb" ,rust-stdweb-0.4)
|
||||||
|
("rust-wasi" ,rust-wasi-0.9)
|
||||||
|
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
|
||||||
|
(home-page "https://github.com/rust-random/getrandom")
|
||||||
|
(synopsis "Retrieve random data from system source")
|
||||||
|
(description
|
||||||
|
"This package provides a small cross-platform library for
|
||||||
|
retrieving random data from system source.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-getrandom-0.1
|
(define-public rust-getrandom-0.1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-getrandom-0.2)
|
||||||
(name "rust-getrandom")
|
(name "rust-getrandom")
|
||||||
(version "0.1.14")
|
(version "0.1.14")
|
||||||
(source
|
(source
|
||||||
|
@ -11756,7 +11787,6 @@ (define-public rust-getrandom-0.1
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1sq30li71h19rhnhs1h6576ja68insajx8wvh1nn088r8pc8vg3s"))))
|
"1sq30li71h19rhnhs1h6576ja68insajx8wvh1nn088r8pc8vg3s"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -11767,13 +11797,7 @@ (define-public rust-getrandom-0.1
|
||||||
("rust-log" ,rust-log-0.4)
|
("rust-log" ,rust-log-0.4)
|
||||||
("rust-stdweb" ,rust-stdweb-0.4)
|
("rust-stdweb" ,rust-stdweb-0.4)
|
||||||
("rust-wasi" ,rust-wasi-0.9)
|
("rust-wasi" ,rust-wasi-0.9)
|
||||||
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
|
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
|
||||||
(home-page "https://github.com/rust-random/getrandom")
|
|
||||||
(synopsis "Retrieve random data from system source")
|
|
||||||
(description
|
|
||||||
"This package provides a small cross-platform library for
|
|
||||||
retrieving random data from system source.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-gettext-rs-0.5
|
(define-public rust-gettext-rs-0.5
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue