guix-commits
[Top][All Lists]
Advanced

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

17/26: gnu: Add rust-timer-0.2.


From: guix-commits
Subject: 17/26: gnu: Add rust-timer-0.2.
Date: Sun, 3 Jan 2021 06:01:33 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 6170f0b4c792b8506f4919c77f34f012bde95444
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 3 12:19:02 2021 +0200

    gnu: Add rust-timer-0.2.
    
    * gnu/packages/crates-io.scm (rust-timer-0.2): New variable.
---
 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 aa9c478..94301f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31811,6 +31811,30 @@ crate.")
     (description "This package provides a timeout mechanism for unit tests.")
     (license license:asl2.0)))
 
+(define-public rust-timer-0.2
+  (package
+    (name "rust-timer")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "timer" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0srhqyp7fr91d1i43aqs7wc6yn1i3kdkh1pm05bicdw961v23m1i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-chrono" ,rust-chrono-0.4))))
+    (home-page "https://github.com/Yoric/timer.rs";)
+    (synopsis "Simple timer in Rust")
+    (description
+     "This package provides a simple timer.  Use it to schedule execution of
+closures after a delay or at a given timestamp.")
+    (license license:mpl2.0)))
+
 (define-public rust-tinytemplate-1
   (package
     (name "rust-tinytemplate")



reply via email to

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