gnu: Add rust-futures-executor-0.3.

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

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Valentin Ignatev 2020-01-19 15:51:59 +03:00 committed by Efraim Flashner
parent 40cae204b9
commit b85417d972
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4684,6 +4684,34 @@ (define-public rust-futures-cpupool-0.1
(license (list license:asl2.0
license:expat))))
(define-public rust-futures-executor-0.3
(package
(name "rust-futures-executor")
(version "0.3.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "futures-executor" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0cf24wbgxqh4kdjbb557vk1axzmbpmwb8s05ga1nls1zaqv4f9qy"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f
#:cargo-inputs
(("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-task" ,rust-futures-task-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-num-cpus" ,rust-num-cpus-1.11))))
(home-page "https://rust-lang-nursery.github.io/futures-rs")
(synopsis "Executors for asynchronous tasks based on the futures-rs library")
(description
"This package provides executors for asynchronous tasks based on the
@code{futures-rs} library.")
(license (list license:expat license:asl2.0))))
(define-public rust-futures-executor-preview-0.3
(package
(name "rust-futures-executor-preview")