From d4502b7933d5029337b7e1d3e6477e508fe7961b Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Wed, 15 Jan 2020 03:56:09 +0300 Subject: [PATCH 025/275] gnu: Add rust-futures-channel-0.3. * gnu/packages/crates-io.scm (rust-futures-channel-0.3): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d4dfe80dfb..39989fde28 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3831,6 +3831,33 @@ featuring zero allocations, composability, and iterator-like interfaces.") (license (list license:asl2.0 license:expat)))) +(define-public rust-futures-channel-0.3 + (package + (name "rust-futures-channel") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-channel" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "11lvk749n61654ad40xn751gmxzwb697nwh36s5gs0ni2z59ibpw")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3)))) + (home-page + "https://rust-lang-nursery.github.io/futures-rs") + (synopsis + "Channels for asynchronous communication using futures-rs") + (description + "Channels for asynchronous communication using futures-rs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-futures-channel-preview-0.3 (package (name "rust-futures-channel-preview") -- 2.25.0