3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add rust-futures-select-macro-preview-0.3.

* gnu/packages/crates-io.scm (rust-futures-select-macro-preview-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-14 10:13:26 -08:00 committed by Efraim Flashner
parent 4b185ecc3c
commit 14f2988004
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1382,6 +1382,35 @@ library.")
(license (list license:asl2.0
license:expat))))
(define-public rust-futures-select-macro-preview-0.3
(package
(name "rust-futures-select-macro-preview")
(version "0.3.0-alpha.17")
(source
(origin
(method url-fetch)
(uri (crate-uri "futures-select-macro-preview" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1a90ivjzkgz7msiz5si05xzi8xwsk5gar1gkrbmrgqpgkliqd7a6"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
("rust-proc-macro2" ,rust-proc-macro2-0.4)
("rust-quote" ,rust-quote-1.0)
("rust-syn" ,rust-syn-0.15))))
(home-page "https://github.com/rust-lang/futures-rs")
(synopsis
"Handle the first Future to complete")
(description
"The @code{select!} macro for waiting on multiple different
@code{Future}s at once and handling the first one to complete.")
(license (list license:expat license:asl2.0))))
(define-public rust-futures-sink-preview-0.3
(package
(name "rust-futures-sink-preview")