summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 14:34:58 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:13 +0100
commite4dad3d42f5c64bc1f25ee76082f5b9c3793eff0 (patch)
tree57232f4dbfc787f1d950292845cb5a935cd2c73f /gnu/packages
parent9fa21ed5304b25df46506ca397dc26365dff4787 (diff)
gnu: Add rust-polling-2.
* gnu/packages/crates-io.scm (rust-polling-2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e719ea0945..5167d26a3c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22460,6 +22460,34 @@ applications.")
"Additional trait for Read and Write to read and write Plain Old Data.")
(license (list license:expat license:asl2.0))))
+(define-public rust-polling-2
+ (package
+ (name "rust-polling")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "polling" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r5xm3f6qs84ibg09nw1cz78r883521l3jaiakj35ri959mvr9x2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-wepoll-sys" ,rust-wepoll-sys-3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-easy-parallel" ,rust-easy-parallel-3))))
+ (home-page "https://github.com/stjepang/polling")
+ (synopsis "Portable interface to epoll, kqueue, event ports, and wepoll")
+ (description
+ "This package provides a portable interface to @code{epoll},
+@code{kqueue}, @code{event ports}, and @code{wepoll}.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-polyval-0.4
(package
(name "rust-polyval")