gnu: Add rust-nanorand-0.5.

* gnu/packages/crates-io.scm (rust-nanorand-0.5): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-20 15:57:34 +01:00
parent 4f4f2edd32
commit 8849b7c582
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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")