Subject: [bug#69890] [PATCH 05/43] gnu: Add rust-mio-aio-0.8.

From: normalmente <[email-masked]>
Date: Tue, 19 Mar 2024 03:50:36 +0000

* gnu/packages/crates-io.scm (rust-mio-aio-0.8): New variable.

Change-Id: Ibdaa64f75f193bf4692831446a04e2d4f81d8deb
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f70e756037..ded8bfb056 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38356,28 +38356,28 @@ (define-public rust-mio-0.6
         ("rust-env-logger" ,rust-env-logger-0.4)
         ("rust-tempdir" ,rust-tempdir-0.3))))))
 
-(define-public rust-mio-aio-0.7
+(define-public rust-mio-aio-0.8
   (package
     (name "rust-mio-aio")
-    (version "0.7.0")
+    (version "0.8.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "mio-aio" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "07y7wnkd4xvj48fyxgnfm9jqjldgqfd39k3ydfmaqc76mw36pagq"))))
+        (base32 "1ynga39vd3r7i3bjqsiv8b6b9z8ympby88l7vkk5cvhp6kn3livj"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t ; no variant named `SigevKevent` found for enum `SigevNotify`
        #:cargo-inputs
        (("rust-mio" ,rust-mio-0.8)
-        ("rust-nix" ,rust-nix-0.24))
+        ("rust-nix" ,rust-nix-0.27)
+        ("rust-pin-utils" ,rust-pin-utils-0.1))
        #:cargo-development-inputs
        (("rust-assert-impl" ,rust-assert-impl-0.1)
-        ("rust-log" ,rust-log-0.3)
         ("rust-mio" ,rust-mio-0.8)
-        ("rust-nix" ,rust-nix-0.24)
+        ("rust-nix" ,rust-nix-0.27)
         ("rust-sysctl" ,rust-sysctl-0.1)
         ("rust-tempfile" ,rust-tempfile-3))))
     (home-page "https://github.com/asomers/mio-aio")
@@ -38385,6 +38385,31 @@ (define-public rust-mio-aio-0.7
     (description "This package provides POSIX AIO bindings for mio.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-mio-aio-0.7
+  (package
+    (inherit rust-mio-aio-0.8)
+    (name "rust-mio-aio")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mio-aio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07y7wnkd4xvj48fyxgnfm9jqjldgqfd39k3ydfmaqc76mw36pagq"))))
+    (arguments
+     `(#:skip-build? #t ; no variant named `SigevKevent` found for enum `SigevNotify`
+       #:cargo-inputs
+       (("rust-mio" ,rust-mio-0.8)
+        ("rust-nix" ,rust-nix-0.24))
+       #:cargo-development-inputs
+       (("rust-assert-impl" ,rust-assert-impl-0.1)
+        ("rust-log" ,rust-log-0.3)
+        ("rust-mio" ,rust-mio-0.8)
+        ("rust-nix" ,rust-nix-0.24)
+        ("rust-sysctl" ,rust-sysctl-0.1)
+        ("rust-tempfile" ,rust-tempfile-3))))))
+
 (define-public rust-mio-anonymous-pipes-0.2
   (package
     (name "rust-mio-anonymous-pipes")
-- 
2.41.0