Subject: [PATCH 16/49] gnu: Add rust-signal-hook-tokio-0.3.

From: Herman Rimm <[email-masked]>
Date: Tue, 30 Jan 2024 16:24:59 +0100

* gnu/packages/crates-io.scm (rust-signal-hook-tokio-0.3): Add variable.

Change-Id: Ia25aa3669c5edc4c2abb6d75c1cb5d1e789dd3a9
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26cf93c8a8..6403b1a0b3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59760,6 +59760,31 @@ (define-public rust-signal-hook-registry-1
     (description "This package is a backend crate for @code{signal-hook}.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-signal-hook-tokio-0.3
+  (package
+    (name "rust-signal-hook-tokio")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "signal-hook-tokio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07nggsi80jv39xisdk2r7cik7hx2d2qa2sivvqkpxqxidzvl2ci1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-signal-hook" ,rust-signal-hook-0.3)
+                       ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)
+                                   ("rust-serial-test" ,rust-serial-test-0.5)
+                                   ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/vorner/signal-hook")
+    (synopsis "Tokio support for signal-hook")
+    (description "This package provides Tokio support for signal-hook.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-simba-0.8
   (package
     (name "rust-simba")
-- 
2.41.0