From cf81638db7b33169cdef6ccd20de36e6c018e04d Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 10:03:09 -0800 Subject: [PATCH 033/263] gnu: Add rust-futures-executor-preview-0.3. * gnu/packages/crates-io.scm (rust-futures-executor-preview-0.3): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 557043dbee..db33392066 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1352,6 +1352,37 @@ the computation on the threads themselves.") (license (list license:asl2.0 license:expat)))) +(define-public rust-futures-executor-preview-0.3 + (package + (name "rust-futures-executor-preview") + (version "0.3.0-alpha.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-executor-preview" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "053g5kf2qa1xhdkwp3d1grrizzy4683mpbb3y0vvm00hwl7jdfl7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3) + ("rust-futures-core-preview" ,rust-futures-core-preview-0.3) + ("rust-futures-util-preview" ,rust-futures-util-preview-0.3) + ("rust-num-cpus" ,rust-num-cpus-1.10) + ("rust-pin-utils" ,rust-pin-utils-0.1)))) + (home-page + "https://github.com/rust-lang/futures-rs") + (synopsis + "Executors for asynchronous tasks based on futures-rs") + (description + "Executors for asynchronous tasks based on the futures-rs +library.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-futures-io-preview-0.3 (package (name "rust-futures-io-preview") -- 2.24.1