guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

175/299: gnu: Add rust-wait-timeout-0.2.


From: guix-commits
Subject: 175/299: gnu: Add rust-wait-timeout-0.2.
Date: Thu, 2 Jan 2020 13:19:39 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit de6acef0bd32807cdc136553bdcde97f3dfd3e4e
Author: John Soo <address@hidden>
Date:   Sun Dec 15 08:51:37 2019 -0800

    gnu: Add rust-wait-timeout-0.2.
    
    * gnu/packages/crates-io.scm (rust-wait-timeout-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1552600..c3995f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8982,6 +8982,30 @@ If that fails, no determination is made, and calls 
return None.")
     (properties '((hidden? . #t)))
     (license license:expat)))
 
+(define-public rust-wait-timeout-0.2
+  (package
+    (name "rust-wait-timeout")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wait-timeout" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1xpkk0j5l9pfmjfh1pi0i89invlavfrd9av5xp0zhxgb29dhy84z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/alexcrichton/wait-timeout";)
+    (synopsis "Wait on a child process with a timeout")
+    (description
+     "This package provides a crate to wait on a child process with a timeout
+specified across Unix and Windows platforms.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-walkdir-2.2
   (package
     (name "rust-walkdir")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]