From f381580c30e5b2266cb8d9b2c3628ff10b2f7bb7 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 17:25:07 -0800 Subject: [PATCH 086/263] gnu: Add rust-rayon-core-1.5. * gnu/packages/crates-io.scm (rust-rayon-core-1.5): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e625509941..6befba52c6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4641,6 +4641,38 @@ and @code{ptrdistance}.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rayon-core-1.5 + (package + (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")))) + (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-lazy-static" ,rust-lazy-static-1.3) + ("rust-num-cpus" ,rust-num-cpus-1.10)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2.58) + ("rust-rand" ,rust-rand-0.4) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.2) + ("rust-scoped-tls" ,rust-scoped-tls-1.0)))) + (home-page "https://github.com/rayon-rs/rayon") + (synopsis "Core APIs for Rayon") + (description "Core APIs for Rayon.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-rdrand-0.4 (package (name "rust-rdrand") -- 2.24.1