guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 74/86] gnu: Add rust-mio.


From: ng0
Subject: [PATCH 74/86] gnu: Add rust-mio.
Date: Tue, 3 Jan 2017 23:36:30 +0000

* gnu/packages/rust.scm (rust-mio): New variable.
---
 gnu/packages/rust.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 030b014a1..6c1e22afe 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -2023,3 +2023,35 @@ avoid common pitfalls in Rust.")
     (description
      "Lacycell provides a library providing a lazily filled Cell struct.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-mio
+  (package
+    (name "rust-mio")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mio" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "101ybpbfc08403ca8gnsvys5sxmhfa0ifzqiy9vj1gcnzp4ksjav"))))
+    (build-system cargo-build-system)
+    (native-inputs
+     `(("rust-bytes" ,rust-bytes "src")
+       ("rust-env-logger" ,rust-env-logger "src")
+       ("rust-tempdir" ,rust-tempdir "src")))
+    (inputs
+     `(("rust-lazycell" ,rust-lazycell "src")
+       ("rust-libc" ,rust-libc "src")
+       ("rust-log" ,rust-log "src")
+       ("rust-net2" ,rust-net2 "src")
+       ("rust-nix" ,rust-nix "src")
+       ("rust-slab" ,rust-slab "src")))
+    (home-page "https://github.com/carllerche/mio";)
+    (synopsis "Metal IO library for Rust")
+    (description
+     "MIO is a lightweight IO library for Rust with a focus on adding
+as little overhead as possible over the OS abstractions.")
+    (license license:expat)))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]