aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-21 00:42:45 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:19 +0100
commit3bfb1b568d7a81b5bceb50bf083f30088db78285 (patch)
tree44504e840274237c81e8e3cff88e48591ae1cfca
parent5b15b42e3f90aea14bbbba38d2bb26574059daa8 (diff)
downloadguix-3bfb1b568d7a81b5bceb50bf083f30088db78285.tar.gz
guix-3bfb1b568d7a81b5bceb50bf083f30088db78285.zip
gnu: Add rust-async-executor-1.
* gnu/packages/crates-io.scm (rust-async-executor-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 71f8eeb7e9..26ccfbdef6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1315,6 +1315,35 @@ Rust.")
and Rust's modern asynchronous IO types.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-executor-1
+ (package
+ (name "rust-async-executor")
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-executor" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ilivvzc082ynr096xxghc8hdmlmacxilcpn738ylh5lqxq7k1zb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-async-task" ,rust-async-task-4)
+ ("rust-concurrent-queue" ,rust-concurrent-queue-1)
+ ("rust-fastrand" ,rust-fastrand-1)
+ ("rust-futures-lite" ,rust-futures-lite-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-vec-arena" ,rust-vec-arena-1))
+ #:cargo-development-inputs
+ (("rust-async-channel" ,rust-async-channel-1)
+ ("rust-async-io" ,rust-async-io-1)
+ ("rust-easy-parallel" ,rust-easy-parallel-3))))
+ (home-page "https://github.com/stjepang/async-executor")
+ (synopsis "Async executor")
+ (description "This library provides async executors.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-io-1
(package
(name "rust-async-io")