guix-commits
[Top][All Lists]
Advanced

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

103/276: gnu: Add rust-mio-aio-0.7.


From: guix-commits
Subject: 103/276: gnu: Add rust-mio-aio-0.7.
Date: Wed, 18 Oct 2023 04:49:36 -0400 (EDT)

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

commit 29a7c0e80c0bfffc1d66658bd119448746f2b246
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 08:03:42 2023 +0300

    gnu: Add rust-mio-aio-0.7.
    
    * gnu/packages/crates-io.scm (rust-mio-aio-0.7): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 011ae3dd12..819124f50f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39606,6 +39606,35 @@ 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.7
+  (package
+    (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"))))
+    (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))
+       #: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))))
+    (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-anonymous-pipes-0.2
   (package
     (name "rust-mio-anonymous-pipes")



reply via email to

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