[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
208/469: gnu: Add rust-nanorand-0.7.
From: |
guix-commits |
Subject: |
208/469: gnu: Add rust-nanorand-0.7. |
Date: |
Tue, 25 Apr 2023 15:03:10 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 8b6c29503f7b8de31e2fbdd366e282f85abf5ad2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 16:56:11 2023 +0200
gnu: Add rust-nanorand-0.7.
* gnu/packages/crates-io.scm (rust-nanorand-0.7): New variable.
(rust-nanorand-0.5): Inherit from rust-nanorand-0.7.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15ebb311ee..46467aefad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35541,8 +35541,33 @@ library.")
libmysqlclient.")
(license (list license:expat license:asl2.0))))
+(define-public rust-nanorand-0.7
+ (package
+ (name "rust-nanorand")
+ (version "0.7.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "nanorand" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"1hr60b8zlfy7mxjcwx2wfmhpkx7vfr3v9x12shmv1c10b0y32lba"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.4))))
+ (home-page "https://github.com/Absolucy/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-nanorand-0.5
(package
+ (inherit rust-nanorand-0.7)
(name "rust-nanorand")
(version "0.5.1")
(source
@@ -35552,7 +35577,6 @@ libmysqlclient.")
(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
@@ -35563,13 +35587,7 @@ libmysqlclient.")
("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)))
+ ("rust-randomize" ,rust-randomize-4))))))
(define-public rust-nanorand-0.4
(package
- 189/469: gnu: Add rust-dav1d-sys-0.7., (continued)
- 189/469: gnu: Add rust-dav1d-sys-0.7., guix-commits, 2023/04/25
- 190/469: gnu: Add rust-dcv-color-primitives-0.4., guix-commits, 2023/04/25
- 186/469: gnu: Add rust-avif-parse-1., guix-commits, 2023/04/25
- 178/469: gnu: Remove rust-color-backtrace-0.5., guix-commits, 2023/04/25
- 188/469: gnu: Add rust-avif-serialize-0.7., guix-commits, 2023/04/25
- 191/469: gnu: Add rust-image-0.24., guix-commits, 2023/04/25
- 182/469: gnu: Remove rust-gl-0.11., guix-commits, 2023/04/25
- 197/469: gnu: rust-bitreader-0.3: Update to 0.3.6., guix-commits, 2023/04/25
- 200/469: gnu: rust-flate2-1: Update to 1.0.25., guix-commits, 2023/04/25
- 205/469: gnu: Add rust-libdeflate-sys-0.11., guix-commits, 2023/04/25
- 208/469: gnu: Add rust-nanorand-0.7.,
guix-commits <=
- 209/469: gnu: rust-num-cpus-1: Update to 1.15.0., guix-commits, 2023/04/25
- 210/469: gnu: rust-num-rational-0.4: Update to 0.4.1., guix-commits, 2023/04/25
- 212/469: gnu: rust-test-assembler-0.1: Fix inputs., guix-commits, 2023/04/25
- 213/469: gnu: rust-v-frame: Update to 0.3.3., guix-commits, 2023/04/25
- 219/469: gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.84., guix-commits, 2023/04/25
- 220/469: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.34., guix-commits, 2023/04/25
- 223/469: gnu: rust-weezl-0.1: Update to 0.1.7., guix-commits, 2023/04/25
- 222/469: gnu: rust-web-sys-0.3: Update to 0.3.61., guix-commits, 2023/04/25
- 226/469: gnu: Add rust-serde-big-array-0.4., guix-commits, 2023/04/25
- 228/469: gnu: Remove rust-lexical-5., guix-commits, 2023/04/25