[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
79/276: gnu: Add rust-fastrand-2.
From: |
guix-commits |
Subject: |
79/276: gnu: Add rust-fastrand-2. |
Date: |
Wed, 18 Oct 2023 04:49:23 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 680c7b0ccdb1e58ca9e010bd96f509f8bee88383
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 21:07:20 2023 +0300
gnu: Add rust-fastrand-2.
* gnu/packages/crates-io.scm (rust-fastrand-2): New variable.
(rust-fastrand-1): Inherit from rust-fastrand-2.
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3fc716f30f..86bbc1fddd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24036,33 +24036,54 @@ floats.")
(description "This package provides a parser for fastq files.")
(license license:expat)))
-(define-public rust-fastrand-1
+(define-public rust-fastrand-2
(package
(name "rust-fastrand")
- (version "1.9.0")
+ (version "2.0.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "fastrand" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1gh12m56265ihdbzh46bhh0jf74i197wm51jg1cw75q7ggi96475"))))
+ (base32 "19flpv5zbzpf0rk4x77z4zf25in0brg8l7m304d3yrf47qvwxjr5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-instant" ,rust-instant-0.1))
+ (("rust-getrandom" ,rust-getrandom-0.2))
#:cargo-development-inputs
(("rust-getrandom" ,rust-getrandom-0.2)
- ("rust-instant" ,rust-instant-0.1)
("rust-rand" ,rust-rand-0.8)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
("rust-wyhash" ,rust-wyhash-0.5))))
- (home-page "https://github.com/stjepang/fastrand")
+ (home-page "https://github.com/smol-rs/fastrand")
(synopsis "Simple and fast random number generator")
(description
"This package provides a simple and fast random number generator.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-fastrand-1
+ (package
+ (inherit rust-fastrand-2)
+ (name "rust-fastrand")
+ (version "1.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fastrand" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gh12m56265ihdbzh46bhh0jf74i197wm51jg1cw75q7ggi96475"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-instant" ,rust-instant-0.1))
+ #:cargo-development-inputs
+ (("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-instant" ,rust-instant-0.1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+ ("rust-wyhash" ,rust-wyhash-0.5))))))
+
(define-public rust-fat-macho-0.4
(package
(name "rust-fat-macho")
- 106/276: gnu: Add rust-rustix-0.38., (continued)
- 106/276: gnu: Add rust-rustix-0.38., guix-commits, 2023/10/18
- 111/276: gnu: Add rust-tokio-macros-2., guix-commits, 2023/10/18
- 118/276: gnu: python-cryptography-rust: Use cargo-test-flags., guix-commits, 2023/10/18
- 70/276: gnu: rust-wasm-bindgen-shared-0.2: Update to 0.2.87., guix-commits, 2023/10/18
- 62/276: gnu: Add rust-to-shmem-0.0.0., guix-commits, 2023/10/18
- 68/276: gnu: rust-wasm-bindgen-macro-0.2: Update to 0.2.87., guix-commits, 2023/10/18
- 63/276: gnu: rust-unicode-ident-1: Update to 1.0.12., guix-commits, 2023/10/18
- 77/276: gnu: rust-bitflags-2: Update to 2.4.0., guix-commits, 2023/10/18
- 72/276: gnu: rust-wasm-bindgen-test-macro-0.3: Update to 0.3.37., guix-commits, 2023/10/18
- 75/276: gnu: librsvg: Update to 2.56.4., guix-commits, 2023/10/18
- 79/276: gnu: Add rust-fastrand-2.,
guix-commits <=
- 81/276: gnu: rust-url-2: Update to 2.4.1., guix-commits, 2023/10/18
- 89/276: gnu: rust-cxxbridge-flags-1: Update to 1.0.107., guix-commits, 2023/10/18
- 88/276: gnu: rust-cxx-gen-0.7: Update to 0.7.107., guix-commits, 2023/10/18
- 83/276: gnu: newsboat: Update to 2.33., guix-commits, 2023/10/18
- 93/276: gnu: rust-miniz-oxide-0.6: Downgrade to 0.6.2., guix-commits, 2023/10/18
- 94/276: gnu: rust-miniz-oxide-0.5: Update to 0.5.4., guix-commits, 2023/10/18
- 116/276: gnu: python-cryptography-vectors: Update to 41.0.4., guix-commits, 2023/10/18
- 113/276: gnu: Add rust-asn1-derive-0.15., guix-commits, 2023/10/18
- 124/276: gnu: Add rust-convert-case-0.6., guix-commits, 2023/10/18
- 126/276: gnu: rust-is-macro-0.1: Update to 0.1.9., guix-commits, 2023/10/18