diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-20 00:49:31 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 22:06:31 +0100 |
commit | 3f87fde02b43875d97121ddb7c30d543e51431b7 (patch) | |
tree | 3f719aed91eaa21173cca3794cc1241d5abc362d /gnu/packages/crates-io.scm | |
parent | 5b4695f729dafd71612271762924978c6c36e01a (diff) | |
download | guix-3f87fde02b43875d97121ddb7c30d543e51431b7.tar.gz guix-3f87fde02b43875d97121ddb7c30d543e51431b7.zip |
gnu: Add rust-async-task-1.
* gnu/packages/crates-io.scm (rust-async-task-1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 22e52734bd..2c44ce34fb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1328,6 +1328,31 @@ notation.") crate.") (license license:expat))) +(define-public rust-async-task-1 + (package + (name "rust-async-task") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-task" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p88087z43zvv924my16a17qd65kdlv1r59h80h73rvrn0bc1hha")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-crossbeam" ,rust-crossbeam-0.7) + ("rust-futures" ,rust-futures-0.3)))) + (home-page "https://github.com/stjepang/async-task") + (synopsis "Task abstraction for building executors") + (description + "This package provides a task abstraction for building executors.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-async-trait-0.1 (package (name "rust-async-trait") |