gnu: Add rust-miow-0.5.

* gnu/packages/crates-io.scm (rust-miow-0.5): New variable.
(rust-miow-0.4): Inherit from rust-miow-0.5.
This commit is contained in:
Efraim Flashner 2023-02-22 11:11:41 +02:00
parent 97342ab811
commit 118b9fccde
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -34794,21 +34794,21 @@ (define-public rust-mio-uds-0.6
"Unix domain socket bindings for mio.") "Unix domain socket bindings for mio.")
(license (list license:asl2.0 license:expat)))) (license (list license:asl2.0 license:expat))))
(define-public rust-miow-0.4 (define-public rust-miow-0.5
(package (package
(name "rust-miow") (name "rust-miow")
(version "0.4.0") (version "0.5.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "miow" version)) (uri (crate-uri "miow" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "03p0dgbahlysgxk0sihhf09k5h13r9aam3d6rfivdbxkj9vpydx7")))) (base32 "08qi8xm2zf8dqacdbnrp19aqk2xiwmw75n1mpq43rqsmysibrzsj"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-windows-sys" ,rust-windows-sys-0.28)) (("rust-windows-sys" ,rust-windows-sys-0.42))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-rand" ,rust-rand-0.8) (("rust-rand" ,rust-rand-0.8)
("rust-socket2" ,rust-socket2-0.4)))) ("rust-socket2" ,rust-socket2-0.4))))
@ -34820,6 +34820,25 @@ (define-public rust-miow-0.4
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-miow-0.4
(package
(inherit rust-miow-0.5)
(name "rust-miow")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "miow" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03p0dgbahlysgxk0sihhf09k5h13r9aam3d6rfivdbxkj9vpydx7"))))
(arguments
`(#:cargo-inputs
(("rust-windows-sys" ,rust-windows-sys-0.28))
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.8)
("rust-socket2" ,rust-socket2-0.4))))))
(define-public rust-miow-0.3 (define-public rust-miow-0.3
(package (package
(inherit rust-miow-0.4) (inherit rust-miow-0.4)