1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 03:20:43 +02:00

gnu: rust-getrandom: Update to 0.3.3.

* gnu/packages/crates-io.scm (rust-getrandom-0.3): New variable.

Change-Id: Ica6669c61dcaff1bca4b45f8f1a8bed567132c05
This commit is contained in:
Danny Milosavljevic 2025-05-19 01:41:25 +02:00
parent c039203305
commit c74e72425f
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -29901,6 +29901,36 @@ platforms.")
(license (list license:asl2.0
license:expat))))
(define-public rust-getrandom-0.3
(package
(name "rust-getrandom")
(version "0.3.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "getrandom" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1x6jl875zp6b2b6qp9ghc84b0l76bvng2lvm8zfcmwjl7rb5w516"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-js-sys" ,rust-js-sys-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-r-efi" ,rust-r-efi-5)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
("rust-wasi" ,rust-wasi-0.14)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
(home-page "https://github.com/rust-random/getrandom")
(synopsis
"small cross-platform library for retrieving 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.2
(package
(name "rust-getrandom")