summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-17 16:19:04 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:55 +0530
commit4b282ebc8764c53cb251ed81c5a42fb6dcdc404e (patch)
tree3240a7306024920dda7988900ef5be026e20c0b5 /gnu
parente6f7dbbd71716b427d8d233c959cd7a4c87a692b (diff)
downloadguix-4b282ebc8764c53cb251ed81c5a42fb6dcdc404e.tar.gz
gnu: Add rust-timebomb-0.1.
* gnu/packages/crates-io.scm (rust-timebomb-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 06334c8564..a1fb3dfdef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26633,6 +26633,28 @@ crate.")
 crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-timebomb-0.1
+  (package
+    (name "rust-timebomb")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "timebomb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fl8bxi9bf5bv44i1afii63695cx4jlki869v0kp01ipnvs8c23z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-pulse" ,rust-pulse-0.5)
+        ("rust-time" ,rust-time-0.2))))
+    (home-page "https://github.com/csherratt/timebomb")
+    (synopsis "Timeout mechanism for unit tests")
+    (description "This package provides a timeout mechanism for unit tests.")
+    (license license:asl2.0)))
+
 (define-public rust-tinytemplate-1
   (package
     (name "rust-tinytemplate")