summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Geffke <m@f-a.nz>2025-03-26 16:42:25 +0000
committerFranz Geffke <m@f-a.nz>2025-03-26 16:42:25 +0000
commit3c6841ef8cbe7bfafe557cfa0e25e78de8c4b0db (patch)
tree2723cf3ef38b66aac6009324dd80d9619cb0d39f
parente36188599ea25e03761c788743776437e5584dcf (diff)
px: rust-rayon: Added v1.6.1
-rw-r--r--px/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/px/packages/crates-io.scm b/px/packages/crates-io.scm
index 24fbc79..239e7a8 100644
--- a/px/packages/crates-io.scm
+++ b/px/packages/crates-io.scm
@@ -455,4 +455,28 @@ widely-used Serde framework.")
"https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils")
(synopsis "Utilities for concurrent programming")
(description "This package provides Utilities for concurrent programming.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-rayon-1.6
+ (package
+ (name "rust-rayon-v6")
+ (version "1.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rayon" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dsr0yyfgdsg8ggh37kq678mfa5j3js6p16ksb7knazhml9s5cvd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-either" ,rust-either-1)
+ ("rust-rayon-core" ,rust-rayon-core-1))
+ #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.3))))
+ (home-page "https://github.com/rayon-rs/rayon")
+ (synopsis "Simple work-stealing parallelism for Rust")
+ (description
+ "This package provides Simple work-stealing parallelism for Rust.")
(license (list license:expat license:asl2.0)))) \ No newline at end of file