[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 75/86] gnu: Add rust-tokio-core.
From: |
ng0 |
Subject: |
[PATCH 75/86] gnu: Add rust-tokio-core. |
Date: |
Tue, 3 Jan 2017 23:36:31 +0000 |
* gnu/packages/rust.scm (rust-tokio-core): New variable.
---
gnu/packages/rust.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 6c1e22afe..2facc9fd3 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -2055,3 +2055,33 @@ avoid common pitfalls in Rust.")
"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)))
+
+(define-public rust-tokio-core
+ (package
+ (name "rust-tokio-core")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-core" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0n3y6j2xy0psj0iv86pz6w0vdzippmk1qzrsahmc5fksjcz6nhaj"))))
+ (build-system cargo-build-system)
+ (native-inputs
+ `(("rust-env-logger" ,rust-env-logger "src")
+ ("rust-libc" ,rust-libc "src")))
+ (inputs
+ `(("rust-futures" ,rust-futures "src")
+ ("rust-log" ,rust-log "src")
+ ("rust-mio" ,rust-mio "src")
+ ("rust-scoped-tls" ,rust-scoped-tls "src")
+ ("rust-slab" ,rust-slab "src")))
+ (home-page "https://github.com/tokio-rs/tokio-core")
+ (synopsis "Core I/O and event loop primitives for asynchronous I/O in
Rust")
+ (description
+ "Tokio-core provides Core I/O and event loop primitives for
+asynchronous I/O in Rust.")
+ (license (list license:expat license:asl2.0))))
--
2.11.0
- [PATCH 71/86] gnu: Add rust-clippy-lints., (continued)
- [PATCH 71/86] gnu: Add rust-clippy-lints., ng0, 2017/01/03
- [PATCH 66/86] gnu: Add rust-semver-parser., ng0, 2017/01/03
- [PATCH 69/86] gnu: Add rust-tempfile., ng0, 2017/01/03
- [PATCH 70/86] gnu: Add rust-nix., ng0, 2017/01/03
- [PATCH 74/86] gnu: Add rust-mio., ng0, 2017/01/03
- [PATCH 73/86] gnu: Add rust-lazycell., ng0, 2017/01/03
- [PATCH 72/86] gnu: Add rust-clippy., ng0, 2017/01/03
- [PATCH 82/86] gnu: rust-quickcheck: Add rust-env-logger input., ng0, 2017/01/03
- [PATCH 75/86] gnu: Add rust-tokio-core.,
ng0 <=
- [PATCH 77/86] gnu: Add rust-serde-test., ng0, 2017/01/03
- [PATCH 81/86] gnu: rust-docopt: Add rust-regex input., ng0, 2017/01/03
- [PATCH 78/86] gnu: rust-clippy: Add rust-serde input., ng0, 2017/01/03
- [PATCH 83/86] gnu: Add fluid., ng0, 2017/01/03
- [PATCH 76/86] gnu: Add rust-serde., ng0, 2017/01/03
- [PATCH 79/86] gnu: rust-toml: Add rust-serde input., ng0, 2017/01/03
- [PATCH 84/86] gnu: Add libpsyc-rust., ng0, 2017/01/03
- [PATCH 86/86] gnu: Add font-google-roboto., ng0, 2017/01/03
- [PATCH 80/86] gnu: rust-csv: Add rust-regex input., ng0, 2017/01/03