From 847d41c13e6968395b7e9576bd5ff4d852496ada Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 11:41:29 -0800 Subject: [PATCH 041/263] gnu: Add rust-mio-0.6. * gnu/packages/crates-io.scm (rust-mio-0.6): New variable. --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3707e542d2..45c622b445 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2581,6 +2581,42 @@ streaming API for miniz_oxide.") (license (list license:asl2.0 license:expat)))) +(define-public rust-mio-0.6 + (package + (name "rust-mio") + (version "0.6.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "mio" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08zzs227vrnyz5kvws6awzlgzb8zqpnihs71hkqlw07dlfb1kxc3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-fuchsia-zircon" ,rust-fuchsia-zircon-0.3) + ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys-0.3) + ("rust-iovec" ,rust-iovec-0.1) + ("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-libc" ,rust-libc-0.2.58) + ("rust-log" ,rust-log-0.4) + ("rust-miow" ,rust-miow-0.2) + ("rust-net2" ,rust-net2-0.2) + ("rust-slab" ,rust-slab-0.4) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https://github.com/tokio-rs/mio") + (synopsis "Lightweight non-blocking IO") + (description "Lightweight non-blocking IO.") + (license license:expat))) + (define-public rust-miow-0.3 (package (name "rust-miow") -- 2.24.1