[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/23: gnu: Add rust-mio-0.7.
From: |
guix-commits |
Subject: |
17/23: gnu: Add rust-mio-0.7. |
Date: |
Wed, 30 Dec 2020 13:50:39 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 211da9ff5ff2038144a95b38766e551fe38b04ff
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Dec 9 17:24:26 2020 +0100
gnu: Add rust-mio-0.7.
* gnu/packages/crates-io.scm (rust-mio-0.7): New variable.
(rust-mio-0.6): Inherit from above.
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d7e51d9..1e458a4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16545,20 +16545,48 @@ drop-in replacement for miniz.")
"This package provides math interoperability standard types.")
(license license:expat)))
+(define-public rust-mio-0.7
+ (package
+ (name "rust-mio")
+ (version "0.7.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12qsvmsmpijnghgci5i0liskvwxrbg2dz6hc09kgvwaf0s3whfzk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-miow" ,rust-miow-0.3)
+ ("rust-ntapi" ,rust-ntapi-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-rand" ,rust-rand-0.4))))
+ (home-page "https://github.com/tokio-rs/mio")
+ (synopsis "Lightweight non-blocking IO")
+ (description
+ "Mio is a fast, low-level I/O library for Rust focusing on non-blocking
+APIs and event notification for building I/O apps with as little overhead as
+possible over the OS abstractions.")
+ (license license:expat)))
+
(define-public rust-mio-0.6
(package
+ (inherit rust-mio-0.7)
(name "rust-mio")
(version "0.6.21")
(source
(origin
(method url-fetch)
(uri (crate-uri "mio" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "13q02a7cwc140aygf8amadpzpl5lyj3p2r4wnvgydfpnphifqb9h"))))
- (build-system cargo-build-system)
+ (base32 "13q02a7cwc140aygf8amadpzpl5lyj3p2r4wnvgydfpnphifqb9h"))))
(arguments
`(#:tests? #f
#:cargo-inputs
@@ -16576,11 +16604,7 @@ drop-in replacement for miniz.")
#:cargo-development-inputs
(("rust-bytes" ,rust-bytes-0.3)
("rust-env-logger" ,rust-env-logger-0.4)
- ("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)))
+ ("rust-tempdir" ,rust-tempdir-0.3))))))
(define-public rust-mio-anonymous-pipes-0.1
(package
- 07/23: gnu: Add rust-derivative-2., (continued)
- 07/23: gnu: Add rust-derivative-2., guix-commits, 2020/12/30
- 01/23: gnu: Add rust-headers-core-0.1., guix-commits, 2020/12/30
- 06/23: gnu: Add rust-num-enum-derive-0.4., guix-commits, 2020/12/30
- 13/23: gnu: rust-tracing-0.1: Update to 0.1.22., guix-commits, 2020/12/30
- 10/23: gnu: Add rust-combine-3., guix-commits, 2020/12/30
- 11/23: gnu: Add rust-bytes-0.6., guix-commits, 2020/12/30
- 12/23: gnu: rust-tracing-core-0.1: Update to 0.1.17., guix-commits, 2020/12/30
- 14/23: gnu: rust-socket2-0.3: Update to 0.3.18., guix-commits, 2020/12/30
- 08/23: gnu: Add rust-ndk-sys-0.2., guix-commits, 2020/12/30
- 09/23: gnu: Add rust-combine-regex-1-1., guix-commits, 2020/12/30
- 17/23: gnu: Add rust-mio-0.7.,
guix-commits <=
- 15/23: gnu: rust-miow-0.3: Update to 0.3.6., guix-commits, 2020/12/30
- 16/23: gnu: Add rust-ntapi-0.3., guix-commits, 2020/12/30
- 18/23: gnu: Add rust-cesu8-1., guix-commits, 2020/12/30
- 20/23: gnu: Add rust-tokio-openssl-0.3., guix-commits, 2020/12/30
- 19/23: gnu: rust-tokio-0.1: Update to 0.1.22., guix-commits, 2020/12/30
- 21/23: gnu: rust-tokio-openssl-0.4: Fix build., guix-commits, 2020/12/30
- 23/23: gnu: rust-tokio-tls-0.3: Fix build., guix-commits, 2020/12/30
- 22/23: gnu: Add rust-tokio-tls-0.2., guix-commits, 2020/12/30