gnu: Add rust-async-task-3.

* gnu/packages/crates-io.scm (rust-async-task-3): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-21 01:26:11 +01:00
parent 9e17c5aed8
commit 6cb091d9ae
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1645,6 +1645,23 @@ (define-public rust-async-task-4
"This package provides a task abstraction for building executors.") "This package provides a task abstraction for building executors.")
(license (list license:asl2.0 license:expat)))) (license (list license:asl2.0 license:expat))))
(define-public rust-async-task-3
(package
(inherit rust-async-task-4)
(name "rust-async-task")
(version "3.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "async-task" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1lrm7cm9dpashmkbqa8mvglbf85gadviqil7qnnrm0pjdqap4xy1"))))
(arguments
`(#:cargo-development-inputs
(("rust-crossbeam" ,rust-crossbeam-0.7)
("rust-futures" ,rust-futures-0.3))))))
(define-public rust-async-task-1 (define-public rust-async-task-1
(package (package
(inherit rust-async-task-4) (inherit rust-async-task-4)