diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 11:41:29 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:16 +0200 |
commit | 29a5b2e51b1cfa02165ed710a90f08049d65f9f5 (patch) | |
tree | 78566cd89be7281d0ea634db19063c7c1f7dbdc5 /gnu/packages | |
parent | 81417d37422ef9d6236426e6e059f02c008400c1 (diff) |
gnu: Add rust-mio-0.6.
* gnu/packages/crates-io.scm (rust-mio-0.6): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 516baf3f37..1613e85680 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2544,6 +2544,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) + ("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") |