aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-01 21:07:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:35:54 +0300
commit680c7b0ccdb1e58ca9e010bd96f509f8bee88383 (patch)
tree9835ecb1f14493ca28e45a038e72e7e8f32a7d78 /gnu/packages/crates-io.scm
parent534b0bda7315cbfbef3708e9595296996eaec066 (diff)
downloadguix-680c7b0ccdb1e58ca9e010bd96f509f8bee88383.tar.gz
guix-680c7b0ccdb1e58ca9e010bd96f509f8bee88383.zip
gnu: Add rust-fastrand-2.
* gnu/packages/crates-io.scm (rust-fastrand-2): New variable. (rust-fastrand-1): Inherit from rust-fastrand-2.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-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")