From 118b9fccde2634d3dd9dc42da98d80d390e8a033 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 22 Feb 2023 11:11:41 +0200 Subject: [PATCH] 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. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index caaee13c11..c61e16a0f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34794,21 +34794,21 @@ (define-public rust-mio-uds-0.6 "Unix domain socket bindings for mio.") (license (list license:asl2.0 license:expat)))) -(define-public rust-miow-0.4 +(define-public rust-miow-0.5 (package (name "rust-miow") - (version "0.4.0") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "miow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03p0dgbahlysgxk0sihhf09k5h13r9aam3d6rfivdbxkj9vpydx7")))) + (base32 "08qi8xm2zf8dqacdbnrp19aqk2xiwmw75n1mpq43rqsmysibrzsj")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-windows-sys" ,rust-windows-sys-0.28)) + (("rust-windows-sys" ,rust-windows-sys-0.42)) #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) ("rust-socket2" ,rust-socket2-0.4)))) @@ -34820,6 +34820,25 @@ (define-public rust-miow-0.4 (license (list license:asl2.0 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 (package (inherit rust-miow-0.4)