[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/32: gnu: Add rust-async-task-4.
From: |
guix-commits |
Subject: |
16/32: gnu: Add rust-async-task-4. |
Date: |
Mon, 4 Jan 2021 13:33:05 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit b5b369011d93860fa0373b148085b076598f358c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Dec 21 00:34:32 2020 +0100
gnu: Add rust-async-task-4.
* gnu/packages/crates-io.scm (rust-async-task-4): New variable.
(rust-async-task-1): Inherit from above.
---
gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
1 file changed, 25 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index efe03c9..33d0b83 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1495,8 +1495,32 @@ notation.")
crate.")
(license license:expat)))
+(define-public rust-async-task-4
+ (package
+ (name "rust-async-task")
+ (version "4.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-task" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w0a1c8jim6s5bvcyiiwg9m4bdv3xnd4hbjm97ndgmphmgg32679"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-atomic-waker" ,rust-atomic-waker-1)
+ ("rust-easy-parallel" ,rust-easy-parallel-3)
+ ("rust-flume" ,rust-flume-0.10))))
+ (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-task-1
(package
+ (inherit rust-async-task-4)
(name "rust-async-task")
(version "1.3.1")
(source
@@ -1506,19 +1530,13 @@ crate.")
(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))))
+ ("rust-futures" ,rust-futures-0.3))))))
(define-public rust-async-trait-0.1
(package
- 13/32: gnu: Add rust-timerfd-1., (continued)
- 13/32: gnu: Add rust-timerfd-1., guix-commits, 2021/01/04
- 06/32: gnu: Add rust-getrandom-0.2., guix-commits, 2021/01/04
- 22/32: gnu: Add rust-parking-1., guix-commits, 2021/01/04
- 21/32: gnu: Add rust-wepoll-sys-stjepang-1., guix-commits, 2021/01/04
- 30/32: gnu: Add rust-async-process-1., guix-commits, 2021/01/04
- 18/32: gnu: Add rust-async-io-1 and rust-async-net-1., guix-commits, 2021/01/04
- 27/32: gnu: Add rust-smol-0.1., guix-commits, 2021/01/04
- 15/32: gnu: Add rust-flume-0.10., guix-commits, 2021/01/04
- 10/32: gnu: Add rust-nanorand-0.5., guix-commits, 2021/01/04
- 14/32: gnu: Add rust-uds-windows-0.1., guix-commits, 2021/01/04
- 16/32: gnu: Add rust-async-task-4.,
guix-commits <=
- 20/32: gnu: Add rust-async-global-executor-1., guix-commits, 2021/01/04
- 23/32: gnu: Add rust-futures-lite-0.1., guix-commits, 2021/01/04
- 29/32: gnu: Add rust-async-mutex-1., guix-commits, 2021/01/04
- 32/32: gnu: Add rust-gloo-timers-0.2., guix-commits, 2021/01/04
- 24/32: gnu: Add rust-blocking-0.4., guix-commits, 2021/01/04
- 25/32: gnu: Add rust-async-task-3., guix-commits, 2021/01/04
- 26/32: gnu: Add rust-piper-0.1., guix-commits, 2021/01/04
- 31/32: gnu: Add rust-crossbeam-utils-0.8., guix-commits, 2021/01/04
- 28/32: gnu: Add rust-futures-intrusive-0.3., guix-commits, 2021/01/04
- 17/32: gnu: Add rust-blocking-1., guix-commits, 2021/01/04