diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 21:35:11 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 21:35:11 +0100 |
commit | bc67bc081070ad4a760aeb597fe642f36677a382 (patch) | |
tree | 4a7c57027ceb14215d0b6d5f1779a8db574e6ac5 /gnu/packages | |
parent | 0e4e91869ca40f07f9146b71a448a236d76d93c3 (diff) | |
download | guix-bc67bc081070ad4a760aeb597fe642f36677a382.tar.gz guix-bc67bc081070ad4a760aeb597fe642f36677a382.zip |
gnu: Add rust-async-stream-0.3.
* gnu/packages/crates-io.scm (rust-async-stream-0.3): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d5d4a976b7..5652324bb9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1220,6 +1220,34 @@ standard library.") and Rust's modern asynchronous IO types.") (license (list license:expat license:asl2.0)))) +(define-public rust-async-stream-0.3 + (package + (name "rust-async-stream") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p19qn5igblb86d35lda72q8vimk2iw8hk7r07wjj5y0rdqdyw1n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-stream-impl" ,rust-async-stream-impl-0.3) + ("rust-futures-core" ,rust-futures-core-0.3)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-test" ,rust-tokio-test-0.2) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/tokio-rs/async-stream") + (synopsis "Asynchronous streams using async & await notation") + (description + "This package provides asynchronous streams using async & await +notation.") + (license license:expat))) + (define-public rust-async-stream-impl-0.3 (package (name "rust-async-stream-impl") |