aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 15:29:02 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:25 +0300
commit807e22b52f736b9683544f7884331e55f11c091f (patch)
tree6c25cd6e74fc096996529b5fe58da3265b891483 /gnu
parent1a7ee5a8c8b88078dbb1b50efc7133f6402a36c7 (diff)
downloadguix-807e22b52f736b9683544f7884331e55f11c091f.tar
guix-807e22b52f736b9683544f7884331e55f11c091f.tar.gz
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 29 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8d724989d1..345870fa58 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40607,8 +40607,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
@@ -40618,7 +40646,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
@@ -40630,11 +40657,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