guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

42/436: gnu: Add rust-miow-0.6.


From: guix-commits
Subject: 42/436: gnu: Add rust-miow-0.6.
Date: Sun, 5 Nov 2023 05:28:01 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 1c638d99edf16aedf9cf40d85d128a7d3f4ebc2f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 08:48:49 2023 +0300

    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
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fd0280dab6..5a4650b62b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41995,31 +41995,49 @@ possible over the OS abstractions.")
      "Unix domain socket bindings for mio.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-miow-0.5
+(define-public rust-miow-0.6
   (package
     (name "rust-miow")
-    (version "0.5.0")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "miow" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "08qi8xm2zf8dqacdbnrp19aqk2xiwmw75n1mpq43rqsmysibrzsj"))))
+        (base32 "0i307jyhxnhgzj148cdb9zq59rhlhr1b65g142g9z9r01d1pd7rm"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-windows-sys" ,rust-windows-sys-0.42))
+       (("rust-windows-sys" ,rust-windows-sys-0.48))
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.8)
-        ("rust-socket2" ,rust-socket2-0.4))))
-    (home-page "https://github.com/alexcrichton/miow";)
+        ("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:asl2.0
-                   license:expat))))
+    (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
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "miow" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08qi8xm2zf8dqacdbnrp19aqk2xiwmw75n1mpq43rqsmysibrzsj"))))
+    (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))))))
 
 (define-public rust-miow-0.4
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]