gnu: Add rust-rustc-rayon-core-0.5.

* gnu/packages/crates-io.scm (rust-rustc-rayon-core-0.5): New variable.
(rust-rustc-rayon-core-0.4): Inherit from rust-rustc-rayon-core-0.5.
This commit is contained in:
Efraim Flashner 2023-07-13 12:34:53 +03:00
parent 0fa584fe5c
commit 9078d0298d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -54109,8 +54109,41 @@ (define-public rust-rustc-rayon-0.4
should be using the real rayon crate, not rustc-rayon.")
(license (list license:asl2.0 license:expat))))
(define-public rust-rustc-rayon-core-0.5
(package
(name "rust-rustc-rayon-core")
(version "0.5.0")
(source (origin
(method url-fetch)
(uri (crate-uri "rustc-rayon-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0zqbr87x58j2g9rgm2lc0254b6yqabb41jvddw99qd8fy2m8srk7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
("rust-num-cpus" ,rust-num-cpus-1))
#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-rand" ,rust-rand-0.8)
("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
("rust-scoped-tls" ,rust-scoped-tls-1))))
(home-page "https://github.com/rust-lang/rustc-rayon")
(synopsis "Core APIs for Rayon - fork for rustc")
(description
"Note: This package is an unstable fork made for use in rustc
Rayon-core represents the \"core, stable\" APIs of Rayon: join, scope, and so
forth, as well as the ability to create custom thread-pools with ThreadPool.")
(license (list license:asl2.0 license:expat))))
(define-public rust-rustc-rayon-core-0.4
(package
(inherit rust-rustc-rayon-core-0.5)
(name "rust-rustc-rayon-core")
(version "0.4.1")
(source (origin
@ -54120,22 +54153,13 @@ (define-public rust-rustc-rayon-core-0.4
(sha256
(base32
"0c4cf58056ya3282c24bnyq39cwm1rd1m96lymfbb6yvl12929h2"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;XXX cannot find rayon_core?
#:cargo-inputs
(("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
("rust-num-cpus" ,rust-num-cpus-1))))
(home-page "https://github.com/rust-lang/rustc-rayon")
(synopsis "Core APIs for Rayon - fork for rustc")
(description
"Note: This package is an unstable fork made for use in rustc
Rayon-core represents the \"core, stable\" APIs of Rayon: join, scope, and so
forth, as well as the ability to create custom thread-pools with ThreadPool.")
(license (list license:asl2.0 license:expat))))
("rust-num-cpus" ,rust-num-cpus-1))))))
(define-public rust-rustc-serialize-0.3
(package