aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 13:21:10 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:37 +0100
commit2cfceef6460a2017306773805cc2f94d7e3b63a8 (patch)
tree82b0735f97a21db8f82b6bc2eda9cc3191115c1c /gnu/packages
parentbef4a1fc9328e6069882612afb84a52293aa9b92 (diff)
downloadguix-2cfceef6460a2017306773805cc2f94d7e3b63a8.tar.gz
guix-2cfceef6460a2017306773805cc2f94d7e3b63a8.zip
gnu: Add rust-async-channel-1.
* gnu/packages/crates-io.scm (rust-async-channel-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13474f4e41..ddca596c9d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1202,6 +1202,33 @@ standard library.")
Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-channel-1
+ (package
+ (name "rust-async-channel")
+ (version "1.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-channel" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ffn42ig82az8ndgjb545imifarcavwxs9dff6psbdkdjj1hsx2r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-concurrent-queue" ,rust-concurrent-queue-1)
+ ("rust-event-listener" ,rust-event-listener-2)
+ ("rust-futures-core" ,rust-futures-core-0.3))
+ #:cargo-development-inputs
+ (("rust-blocking" ,rust-blocking-0.6)
+ ("rust-easy-parallel" ,rust-easy-parallel-3)
+ ("rust-futures-lite" ,rust-futures-lite-1))))
+ (home-page "https://github.com/stjepang/async-channel")
+ (synopsis "Async multi-producer multi-consumer channel")
+ (description
+ "Async multi-producer multi-consumer channel")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-compression-0.3
(package
(name "rust-async-compression")