From 1cb21ed5a662c374f106b0854a2eed5b70cd8d1a Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 11:49:18 -0800 Subject: [PATCH] gnu: Add rust-tokio-executor-0.1. * gnu/packages/crates-io.scm (rust-tokio-executor-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4b60880655..16c9e5314a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5001,6 +5001,33 @@ (define-public rust-time-0.1 (license (list license:asl2.0 license:expat)))) +;; Cyclic dependency with rust-tokio. +(define-public rust-tokio-executor-0.1 + (package + (name "rust-tokio-executor") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-executor" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pjmgpg58k3hf5q9w6xjljsv8xy66lf734qnfwsc0g3pq3349sl3")))) + (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)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.1)))) + (home-page "https://github.com/tokio-rs/tokio") + (synopsis "Future execution primitives") + (description "Future execution primitives.") + (license license:expat))) + ;; Cyclic dependencies with tokio and tokio-current-thread (define-public rust-tokio-io-0.1 (package