summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZ572 <873216071@qq.com>2022-01-12 23:27:54 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:12:01 +0100
commitac45433cecc8dadea8337d91abe316050026f1ce (patch)
treec7ab1fbfe9ce07cf2f33996d7bfa7d87bfe53c48 /gnu/packages
parentf5a7388e4d585d1a4017dc7a163c3c38e548749c (diff)
downloadguix-ac45433cecc8dadea8337d91abe316050026f1ce.tar.gz
gnu: Add rust-kqueue-1.
* gnu/packages/crates-io.scm (rust-kqueue-1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3a11b2f7d0..2c3b8dd78b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27652,6 +27652,29 @@ kernel32.")
     (description "This package provides a low-level kqueue interface for BSDs.")
     (license license:expat)))
 
+(define-public rust-kqueue-1
+  (package
+    (name "rust-kqueue")
+    (version "1.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "kqueue" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ad4vifr0kmla8a5pgig7plx5kmc9w7k1h9mgm6fk2sgg1x112h5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-kqueue-sys" ,rust-kqueue-sys-1) ("rust-libc" ,rust-libc-0.2))
+       #:cargo-development-inputs
+       (("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://gitlab.com/worr/rust-kqueue")
+    (synopsis "kqueue interface for BSDs")
+    (description "This package provides a kqueue interface for BSDs.")
+    (license license:expat)))
+
 (define-public rust-kv-log-macro-1
   (package
     (name "rust-kv-log-macro")