mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 04:07:10 -05:00
gnu: Add rust-nanorand-0.5.
* gnu/packages/crates-io.scm (rust-nanorand-0.5): New variable.
This commit is contained in:
parent
4f4f2edd32
commit
8849b7c582
1 changed files with 30 additions and 0 deletions
|
@ -18054,6 +18054,36 @@ (define-public rust-mysqlclient-sys-0.2
|
||||||
libmysqlclient.")
|
libmysqlclient.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-nanorand-0.5
|
||||||
|
(package
|
||||||
|
(name "rust-nanorand")
|
||||||
|
(version "0.5.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "nanorand" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1ryi6jdfsfij4di33f269099g7m32rlr7sv7j4pklnjcj2xxfwri"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #true ;error with pre-release randomize
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-getrandom" ,rust-getrandom-0.2)
|
||||||
|
("rust-zeroize" ,rust-zeroize-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-criterion" ,rust-criterion-0.3)
|
||||||
|
("rust-fastrand" ,rust-fastrand-1)
|
||||||
|
("rust-hex" ,rust-hex-0.4)
|
||||||
|
("rust-random-fast-rng" ,rust-random-fast-rng-0.1)
|
||||||
|
("rust-randomize" ,rust-randomize-4))))
|
||||||
|
(home-page "https://github.com/aspenluxxxy/nanorand-rs")
|
||||||
|
(synopsis "Tiny, fast, zero-dep library for random number generation")
|
||||||
|
(description
|
||||||
|
"This library is meant for fast, random number generation with
|
||||||
|
quick compile time, and minimal dependencies.")
|
||||||
|
(license license:zlib)))
|
||||||
|
|
||||||
(define-public rust-nasm-rs-0.2
|
(define-public rust-nasm-rs-0.2
|
||||||
(package
|
(package
|
||||||
(name "rust-nasm-rs")
|
(name "rust-nasm-rs")
|
||||||
|
|
Loading…
Reference in a new issue