From 8e8c6d8ebad0e1c19dfb815963ae236338d4fddf Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 15:52:25 -0800 Subject: [PATCH] gnu: Add rust-tokio-sync-0.1. * gnu/packages/crates-io.scm (rust-tokio-sync-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5a0a93413c..5fc7078348 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5895,6 +5895,35 @@ (define-public rust-tokio-mock-task-0.1 (properties '((hidden? . #t))) (license license:expat))) +(define-public rust-tokio-sync-0.1 + (package + (name "rust-tokio-sync") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-sync" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ryalh7dcmnz46xj1va8aaw3if6vd4mj87r67dqvrqhpyf7j8qi1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-fnv" ,rust-fnv-1.0) + ("rust-futures" ,rust-futures-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-loom" ,rust-loom-0.1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-mock-task" ,rust-tokio-mock-task-0.1)))) + (home-page "https://tokio.rs") + (synopsis "Synchronization utilities") + (description "Synchronization utilities.") + (license license:expat))) + (define-public rust-toml-0.5 (package (name "rust-toml")