From 0b4ea7c4a3d847b74d92346f4dbc76e9cb649ac9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 11:59:20 -0800 Subject: [PATCH 046/263] gnu: Add rust-futures-util-preview-0.3. * gnu/packages/crates-io.scm (rust-futures-util-preview-0.3): New variable. --- gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 861070f4a8..723ee04876 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1565,6 +1565,47 @@ futures-rs library.") (license (list license:asl2.0 license:expat)))) +(define-public rust-futures-util-preview-0.3 + (package + (name "rust-futures-util-preview") + (version "0.3.0-alpha.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-util-preview" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kizm86wgr5qldyavskfi0r1msg6m4x2pkj0d4r04br2ig29i0dg")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3) + ("rust-futures-core-preview" ,rust-futures-core-preview-0.3) + ("rust-futures-io-preview" ,rust-futures-io-preview-0.3) + ("rust-futures-select-macro-preview" + ,rust-futures-select-macro-preview-0.3) + ("rust-futures-sink-preview" ,rust-futures-sink-preview-0.3) + ("rust-memchr" ,rust-memchr-2.2) + ("rust-pin-utils" ,rust-pin-utils-0.1) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-proc-macro-nested" ,rust-proc-macro-nested-0.1) + ("rust-rand" ,rust-rand-0.4) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-slab" ,rust-slab-0.4) + ("rust-tokio-io" ,rust-tokio-io-0.1)))) + (home-page + "https://github.com/rust-lang/futures-rs") + (synopsis + "Utilities and extension traits for futures-rs library") + (description + "Common utilities and extension traits for the futures-rs +library.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-gcc-0.3 (package (inherit rust-cc-1.0) -- 2.24.1