guix-commits
[Top][All Lists]
Advanced

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

07/68: gnu: Add rust-mio-aio-0.8.


From: guix-commits
Subject: 07/68: gnu: Add rust-mio-aio-0.8.
Date: Wed, 20 Mar 2024 11:24:24 -0400 (EDT)

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

commit 6ea5f785803f6cd9eaf33a40e39decd28ad345eb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 15:29:02 2024 +0200

    gnu: Add rust-mio-aio-0.8.
    
    * gnu/packages/crates-io.scm (rust-mio-aio-0.8): New variable.
    (rust-mio-aio-0.7): Inherit from rust-mio-aio-0.8.
    
    Change-Id: Ic71c27867b1fd318a1c29c75737db115f5aa996a
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++------
 1 file changed, 29 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 931dd14099..a9da1f9d68 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40455,8 +40455,36 @@ possible over the OS abstractions.")
         ("rust-env-logger" ,rust-env-logger-0.4)
         ("rust-tempdir" ,rust-tempdir-0.3))))))
 
+(define-public rust-mio-aio-0.8
+  (package
+    (name "rust-mio-aio")
+    (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 "1ynga39vd3r7i3bjqsiv8b6b9z8ympby88l7vkk5cvhp6kn3livj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t     ; unresolved import `nix::sys::event`
+       #:cargo-inputs (("rust-mio" ,rust-mio-0.8)
+                       ("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-mio" ,rust-mio-0.8)
+                                   ("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";)
+    (synopsis "POSIX AIO bindings for mio")
+    (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
@@ -40466,7 +40494,6 @@ possible over the OS abstractions.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "07y7wnkd4xvj48fyxgnfm9jqjldgqfd39k3ydfmaqc76mw36pagq"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t ; no variant named `SigevKevent` found for enum 
`SigevNotify`
        #:cargo-inputs
@@ -40478,11 +40505,7 @@ possible over the OS abstractions.")
         ("rust-mio" ,rust-mio-0.8)
         ("rust-nix" ,rust-nix-0.24)
         ("rust-sysctl" ,rust-sysctl-0.1)
-        ("rust-tempfile" ,rust-tempfile-3))))
-    (home-page "https://github.com/asomers/mio-aio";)
-    (synopsis "POSIX AIO bindings for mio")
-    (description "This package provides POSIX AIO bindings for mio.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-mio-anonymous-pipes-0.2
   (package



reply via email to

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