aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-14 09:43:18 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-20 16:42:14 +0200
commiteb3cf81cddc8ce1b7ac2b85cce68735978ab4b09 (patch)
treedece5d3d376b4ba3c6b57a3ab3e422533357765a
parent1261bc7ac855ac1742d515b15d52b8f4516c8a63 (diff)
downloadpatches-eb3cf81cddc8ce1b7ac2b85cce68735978ab4b09.tar
patches-eb3cf81cddc8ce1b7ac2b85cce68735978ab4b09.tar.gz
gnu: Add rust-rayon-core-1.7.
* gnu/packages/crates-io.scm (rust-rayon-core-1.7): New variable. (rust-rayon-core-1.5): Inherit from rust-rayon-core-1.7. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm40
1 files changed, 34 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 73016b6ae4..39e43ed771 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8185,10 +8185,10 @@ accessors.")
"Simple work-stealing parallelism for Rust.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-rayon-core-1.5
+(define-public rust-rayon-core-1.7
(package
(name "rust-rayon-core")
- (version "1.5.0")
+ (version "1.7.0")
(source
(origin
(method url-fetch)
@@ -8197,19 +8197,19 @@ accessors.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1ljva6blaf1wmzvg77h1i9pd0hsmsbbcmdk7sjbw7h2s8gw0vgpb"))))
+ "1ac55kpnh2390ah7r071vnjbiy308qpznql0n597x5dgxx39pa08"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
- ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1)
- ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
+ ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.2)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
("rust-lazy-static" ,rust-lazy-static-1.3)
("rust-num-cpus" ,rust-num-cpus-1.10))
#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-rand" ,rust-rand-0.4)
+ ("rust-rand" ,rust-rand-0.7)
("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
("rust-scoped-tls" ,rust-scoped-tls-1.0))))
(home-page "https://github.com/rayon-rs/rayon")
@@ -8217,6 +8217,34 @@ accessors.")
(description "Core APIs for Rayon.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rayon-core-1.5
+ (package
+ (inherit rust-rayon-core-1.7)
+ (name "rust-rayon-core")
+ (version "1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rayon-core" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ljva6blaf1wmzvg77h1i9pd0hsmsbbcmdk7sjbw7h2s8gw0vgpb"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
+ ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-num-cpus" ,rust-num-cpus-1.10))
+ #:cargo-development-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+ ("rust-scoped-tls" ,rust-scoped-tls-1.0))))))
+
(define-public rust-rdrand-0.4
(package
(name "rust-rdrand")