From b7f0b1c8776495906e26cfed2d08157af40facc6 Mon Sep 17 00:00:00 2001 From: phodina Date: Sat, 4 Sep 2021 07:40:47 +0000 Subject: gnu: Add rust-process-control-3. * gnu/packages/crates-io.scm (rust-process-control-3): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4633529ba5..f70797f615 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35756,6 +35756,31 @@ macro use case.") @code{proc_macro_derive} pretend to be @code{proc_macro}.") (license (list license:expat license:asl2.0)))) +(define-public rust-process-control-3 + (package + (name "rust-process-control") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "process_control" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v5j6ajr3fprpay8754874rmi622a1vk5rld88p1jk04wha413pm")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/dylni/process_control") + (synopsis "Methods for ergonomically running processes with timeouts") + (description + "This crate allows running a process with a timeout, with the option to +terminate it automatically afterward.") + (license (list license:expat license:asl2.0)))) + (define-public rust-progress-0.2 (package (name "rust-progress") -- cgit v1.2.3