[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/89: gnu: Add rust-nanorand-0.7.
From: |
guix-commits |
Subject: |
53/89: gnu: Add rust-nanorand-0.7. |
Date: |
Thu, 23 Feb 2023 10:24:08 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 0877891b7052878365f00ca63e49cc4f377c863e
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 2813c3affb..825641dcac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35355,8 +35355,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
@@ -35366,7 +35391,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
@@ -35377,13 +35401,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
- 18/89: gnu: Remove rust-hashlink-0.6., (continued)
- 18/89: gnu: Remove rust-hashlink-0.6., guix-commits, 2023/02/23
- 40/89: gnu: Add rust-tiff-0.8., guix-commits, 2023/02/23
- 37/89: gnu: Add rust-jpeg-decoder-0.3., guix-commits, 2023/02/23
- 45/89: gnu: rust-flate2-1: Update to 1.0.25., guix-commits, 2023/02/23
- 42/89: gnu: rust-bitreader-0.3: Update to 0.3.6., guix-commits, 2023/02/23
- 43/89: gnu: Add rust-cargo-lock-8., guix-commits, 2023/02/23
- 48/89: gnu: rust-js-sys-0.3: Update to 0.3.61., guix-commits, 2023/02/23
- 49/89: gnu: Add rust-libdeflater-0.11., guix-commits, 2023/02/23
- 52/89: gnu: Add rust-miniz-oxide-0.6., guix-commits, 2023/02/23
- 55/89: gnu: rust-num-rational-0.4: Update to 0.4.1., guix-commits, 2023/02/23
- 53/89: gnu: Add rust-nanorand-0.7.,
guix-commits <=
- 61/89: gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.34., guix-commits, 2023/02/23
- 68/89: gnu: rust-weezl-0.1: Update to 0.1.7., guix-commits, 2023/02/23
- 76/89: gnu: Add rust-const-fn-assert-0.1., guix-commits, 2023/02/23
- 79/89: gnu: Add rust-built-0.5., guix-commits, 2023/02/23
- 83/89: gnu: Remove rust-pangocairo-sys-0.10., guix-commits, 2023/02/23
- 84/89: gnu: Add rust-webp-0.2., guix-commits, 2023/02/23
- 87/89: gnu: Remove rust-gl-generator-0.10., guix-commits, 2023/02/23
- 19/89: gnu: Remove rust-git2-curl-0.14., guix-commits, 2023/02/23
- 21/89: gnu: Remove rust-float-cmp-0.3., guix-commits, 2023/02/23
- 22/89: gnu: Remove rust-fixed-hash-0.2., guix-commits, 2023/02/23