From 8c3e62578997e4a32e65be513872c1832e5adcb4 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 10:15:59 -0800 Subject: [PATCH] gnu: Add rust-tokio-timer-0.2. * gnu/packages/crates-io.scm (rust-tokio-timer-0.2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ec25014f3f..206db02451 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8994,6 +8994,36 @@ the current thread.") pool.") (license license:expat))) +(define-public rust-tokio-timer-0.2 + (package + (name "rust-tokio-timer") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-timer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03m68ainkdy3b5pf20rjyknhk2ppx35bjdc2yfj2bv80sl96h47j")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) + ("rust-futures" ,rust-futures-0.1) + ("rust-slab" ,rust-slab-0.4) + ("rust-tokio-executor" ,rust-tokio-executor-0.1)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-mock-task" ,rust-tokio-mock-task-0.1)))) + (home-page "https://github.com/tokio-rs/tokio") + (synopsis "Timer facilities for Tokio") + (description "Timer facilities for Tokio.") + (license license:expat))) + (define-public rust-toml-0.5 (package (name "rust-toml")