summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 13:12:13 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:36 +0100
commit316e4ab6788daefb49364cee99c6b4fbe88af986 (patch)
tree2150eae1a7ce71fe57ae057a0f2e887d23add590 /gnu/packages
parent28ba48959cb7ad384d958cf606d29a54f0bcdfd9 (diff)
gnu: Add rust-concurrent-queue-1.
* gnu/packages/crates-io.scm (rust-concurrent-queue-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d238dbf8e0..859ee2b29c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4928,6 +4928,31 @@ harness.")
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-tempdir" ,rust-tempdir-0.3))))))
+(define-public rust-concurrent-queue-1
+ (package
+ (name "rust-concurrent-queue")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "concurrent-queue" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18w6hblcjjk9d0my3657ra1zdj79gwfjmzvc0b3985g01dahgv9h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cache-padded" ,rust-cache-padded-1))
+ #:cargo-development-inputs
+ (("rust-easy-parallel" ,rust-easy-parallel-3)
+ ("rust-fastrand" ,rust-fastrand-1))))
+ (home-page "https://github.com/stjepang/concurrent-queue")
+ (synopsis "Concurrent multi-producer multi-consumer queue")
+ (description
+ "This package provides a concurrent multi-producer multi-consumer
+queue.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-console-0.13
(package
(name "rust-console")