diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 21:50:50 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:46 +0100 |
commit | a6896bc25f52c7c0f518c7d6bcf40a84dba6bfe8 (patch) | |
tree | f2a22b27db0335a3f16f668daf112667db8206af /gnu/packages | |
parent | beb6c9fa70f5ca76780a06cd1beaaf2f2351065c (diff) | |
download | guix-patches-a6896bc25f52c7c0f518c7d6bcf40a84dba6bfe8.tar guix-patches-a6896bc25f52c7c0f518c7d6bcf40a84dba6bfe8.tar.gz |
gnu: Add rust-crossbeam-0.8.
* gnu/packages/crates-io.scm (rust-crossbeam-0.8): New variable.
(rust-crossbeam-0.7): Inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4c2468a155..cd1bd40547 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8608,8 +8608,35 @@ criterion.") ("rust-num-complex" ,rust-num-complex-0.2) ("rust-rand" ,rust-rand-0.4)))))) +(define-public rust-crossbeam-0.8 + (package + (name "rust-crossbeam") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossbeam" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "103xnwzkk1zd9kiy6f0f131ap433qfkc757wyrha5bxa7pmsc0gx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8) + ("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.9) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)))) + (home-page "https://github.com/crossbeam-rs/crossbeam") + (synopsis "Tools for concurrent programming in Rust") + (description "This package provides tools for concurrent programming.") + (license (list license:expat license:asl2.0)))) + (define-public rust-crossbeam-0.7 (package + (inherit rust-crossbeam-0.8) (name "rust-crossbeam") (version "0.7.3") (source @@ -8621,7 +8648,6 @@ criterion.") (sha256 (base32 "13kzn2d49n2qn5q42y2dj48kyv6aln2d9smq8x9n675l3zzknck9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) @@ -8631,11 +8657,7 @@ criterion.") ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.2) ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)) #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.6)))) - (home-page "https://github.com/crossbeam-rs/crossbeam") - (synopsis "Tools for concurrent programming") - (description "Tools for concurrent programming.") - (license (list license:expat license:asl2.0)))) + (("rust-rand" ,rust-rand-0.6)))))) (define-public rust-crossbeam-channel-0.5 (package |