aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 12:01:23 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:44 +0100
commit3c2950f74b75e9101cf6ff7f38967e0d501b521c (patch)
treef1d451a9921438912081462a1ccf22c88d6c49bc
parent2bd35b7219c82df18e4f5eab6e22b3dd7e1324a2 (diff)
downloadguix-3c2950f74b75e9101cf6ff7f38967e0d501b521c.tar.gz
guix-3c2950f74b75e9101cf6ff7f38967e0d501b521c.zip
gnu: Add rust-runtime-tokio-0.3.
* gnu/packages/crates-io.scm (rust-runtime-tokio-0.3): New variable.
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7df87b3fe9..9227df5de6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29522,6 +29522,33 @@ console applications.")
(description "This package provides traits to implement custom Runtimes.")
(license (list license:expat license:asl2.0))))
+(define-public rust-runtime-tokio-0.3
+ (package
+ (name "rust-runtime-tokio")
+ (version "0.3.0-alpha.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "runtime-tokio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mf5fyh164i4m5rj1j45hs7dwv1k4m1xckq0apa6y4c99gwzhq3a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-futures-preview" ,rust-futures-preview-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-runtime-raw" ,rust-runtime-raw-0.3)
+ ("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/rustasync/runtime")
+ (synopsis "Tokio-based asynchronous runtime")
+ (description
+ "This package provides a Tokio-based asynchronous runtime.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rusqlite-0.24
(package
(name "rust-rusqlite")