aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm33
1 files 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")