aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-14 08:59:10 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-20 11:16:34 +0200
commit4edb32699e6923fba5371781ca3c6391b0032d86 (patch)
tree365ef90ce7a4862eacd81f41c1760751ce24db56 /gnu
parent6f8794bd5006b2bafd8703dd134ff68d6d2f6b74 (diff)
downloadguix-4edb32699e6923fba5371781ca3c6391b0032d86.tar.gz
guix-4edb32699e6923fba5371781ca3c6391b0032d86.zip
gnu: Add rust-crossbeam-queue-0.2.
* gnu/packages/crates-io.scm (rust-crossbeam-queue-0.2): New variable. (rust-crossbeam-queue-0.1): Inherit from rust-crossbeam-queue-0.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 30 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0be958ef07..4339f1f574 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1904,10 +1904,10 @@ intrinsics.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.4))))))
-(define-public rust-crossbeam-queue-0.1
+(define-public rust-crossbeam-queue-0.2
(package
(name "rust-crossbeam-queue")
- (version "0.1.2")
+ (version "0.2.1")
(source
(origin
(method url-fetch)
@@ -1916,22 +1916,45 @@ intrinsics.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0jsa9dbxnwqcxfws09vaschf92d4imlbbikmcn4ka8z7rzb9r5vw"))))
+ "1nwkjh185bdwjrv1zj2g7an9lglv8sp4459268m4fwvi3v5fx5f6"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6))
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7))
#:cargo-development-inputs
- (("rust-rand" ,rust-rand-0.4))))
+ (("rust-rand" ,rust-rand-0.6))))
(home-page
"https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils")
- (synopsis "Concurrent queues")
- (description "Concurrent queues.")
+ (synopsis "Concurrent queues in Rust")
+ (description
+ "This crate provides concurrent queues that can be shared among threads.")
(license (list license:expat
license:asl2.0
license:bsd-2))))
+(define-public rust-crossbeam-queue-0.1
+ (package
+ (inherit rust-crossbeam-queue-0.2)
+ (name "rust-crossbeam-queue")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-queue" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0jsa9dbxnwqcxfws09vaschf92d4imlbbikmcn4ka8z7rzb9r5vw"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.4))))))
+
(define-public rust-crossbeam-utils-0.6
(package
(name "rust-crossbeam-utils")