gnu: Add rust-miow-0.6.
* gnu/packages/crates-io.scm (rust-miow-0.6): New variable. (rust-miow-0.5): Inherit from rust-miow-0.6. Change-Id: I1c31c3fe9f081f1d9da6dab4d13fe40733092f08
parent
65283c4fb2
commit
6043b5499c
|
@ -41995,8 +41995,34 @@ possible over the OS abstractions.")
|
|||
"Unix domain socket bindings for mio.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-miow-0.6
|
||||
(package
|
||||
(name "rust-miow")
|
||||
(version "0.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "miow" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0i307jyhxnhgzj148cdb9zq59rhlhr1b65g142g9z9r01d1pd7rm"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-windows-sys" ,rust-windows-sys-0.48))
|
||||
#:cargo-development-inputs
|
||||
(("rust-rand" ,rust-rand-0.8)
|
||||
("rust-socket2" ,rust-socket2-0.5))))
|
||||
(home-page "https://github.com/yoshuawuyts/miow")
|
||||
(synopsis "Rust I/O library for Windows")
|
||||
(description
|
||||
"This package provides a zero overhead I/O library for Windows, focusing on
|
||||
IOCP and Async I/O abstractions.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-miow-0.5
|
||||
(package
|
||||
(inherit rust-miow-0.6)
|
||||
(name "rust-miow")
|
||||
(version "0.5.0")
|
||||
(source
|
||||
|
@ -42006,20 +42032,12 @@ possible over the OS abstractions.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "08qi8xm2zf8dqacdbnrp19aqk2xiwmw75n1mpq43rqsmysibrzsj"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-windows-sys" ,rust-windows-sys-0.42))
|
||||
#:cargo-development-inputs
|
||||
(("rust-rand" ,rust-rand-0.8)
|
||||
("rust-socket2" ,rust-socket2-0.4))))
|
||||
(home-page "https://github.com/alexcrichton/miow")
|
||||
(synopsis "Rust I/O library for Windows")
|
||||
(description
|
||||
"This package provides a zero overhead I/O library for Windows, focusing on
|
||||
IOCP and Async I/O abstractions.")
|
||||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
("rust-socket2" ,rust-socket2-0.4))))))
|
||||
|
||||
(define-public rust-miow-0.4
|
||||
(package
|
||||
|
|
Reference in New Issue