summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 10:18:21 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:48 +0200
commiteea77ec83cb30ac5153ad59960f5e5505156dba4 (patch)
tree6f1a167926929983094fd610a3f883ae1d867157
parentd3af79f1046adc445a99c1dce5a4f6303877b91d (diff)
gnu: Add rust-tokio-udp-0.1.
* gnu/packages/crates-io.scm (rust-tokio-udp-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 08d77611b1..555f1cf9d2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9024,6 +9024,37 @@ pool.")
(description "Timer facilities for Tokio.")
(license license:expat)))
+(define-public rust-tokio-udp-0.1
+ (package
+ (name "rust-tokio-udp")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-udp" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "14kfj35s465czcspayacnzlxrazfvxzhhggq1rqlljhgp1sqa9k6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-tokio-codec" ,rust-tokio-codec-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6))))
+ (home-page "https://tokio.rs")
+ (synopsis "UDP bindings for tokio")
+ (description "UDP bindings for tokio.")
+ (license license:expat)))
+
(define-public rust-tokio-uds-0.2
(package
(name "rust-tokio-uds")