[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/32: gnu: Add rust-async-process-1.
From: |
guix-commits |
Subject: |
30/32: gnu: Add rust-async-process-1. |
Date: |
Mon, 4 Jan 2021 13:33:13 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 20e1e22dbe1cad0a7d1810d9923ee69270b22cf4
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Dec 21 09:57:34 2020 +0100
gnu: Add rust-async-process-1.
* gnu/packages/crates-io.scm (rust-async-process-1): New variable.
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 09590ad..f84d8f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1552,6 +1552,44 @@ primitives:
"Async networking primitives for TCP/UDP/Unix communication")
(license (list license:asl2.0 license:expat))))
+(define-public rust-async-process-1
+ (package
+ (name "rust-async-process")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-process" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nmvqwqxzy0gv7n8agknaijns9dsxqj81bxms4bs647vq44ym32c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=set_current_dir_works"
+ "--skip=signal_reported_right"
+ "--skip=stdin_works")
+ #:cargo-inputs
+ (("rust-async-io" ,rust-async-io-1)
+ ("rust-blocking" ,rust-blocking-1)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-event-listener" ,rust-event-listener-2)
+ ("rust-futures-lite" ,rust-futures-lite-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-signal-hook" ,rust-signal-hook-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/stjepang/async-process")
+ (synopsis "Async interface for working with processes")
+ (description
+ "This crate is an async version of @code{std::process}. A background
+thread named @code{async-process} is lazily created on first use, which waits
+for spawned child processes to exit and then calls the @code{wait()} syscall
+to clean up the ``zombie'' processes.
+
+This is unlike the process API in the standard library, where dropping
+a running Child leaks its resources.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-std-0.99
(package
(name "rust-async-std")
- 07/32: gnu: Add rust-random-trait-0.1., (continued)
- 07/32: gnu: Add rust-random-trait-0.1., guix-commits, 2021/01/04
- 08/32: gnu: Add rust-random-fast-rng-0.1., guix-commits, 2021/01/04
- 09/32: gnu: Add rust-randomize-4., guix-commits, 2021/01/04
- 11/32: gnu: rust-signal-hook-0.1: Update to 0.1.16., guix-commits, 2021/01/04
- 12/32: gnu: Add rust-inotify-0.8., guix-commits, 2021/01/04
- 03/32: gnu: Add rust-nb-connect-1., guix-commits, 2021/01/04
- 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 <=
- 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, 2021/01/04
- 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