diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-01-03 12:19:02 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-01-03 12:49:35 +0200 |
commit | 6170f0b4c792b8506f4919c77f34f012bde95444 (patch) | |
tree | 98d095202b2ee3015963a03e58b3cbb81f67c311 | |
parent | e5adfbac4b997786a81369866de9072068476092 (diff) |
gnu: Add rust-timer-0.2.
* gnu/packages/crates-io.scm (rust-timer-0.2): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aa9c47801b..94301f9b82 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") |