Subject: [PATCH 28/49] gnu: Add rust-event-listener-strategy-0.4.

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

* gnu/packages/crates-io.scm (rust-event-listener-strategy-0.4): Add
variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2241dd126e..bfa8f3b2dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21412,6 +21412,30 @@ (define-public rust-event-listener-2
        (("rust-futures" ,rust-futures-0.3)
         ("rust-waker-fn" ,rust-waker-fn-1))))))
 
+(define-public rust-event-listener-strategy-0.4
+  (package
+    (name "rust-event-listener-strategy")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "event-listener-strategy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lwprdjqp2ibbxhgm9khw7s7y7k4xiqj5i5yprqiks6mnrq4v3lm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-4)
+                       ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))
+       #:cargo-development-inputs
+       (("rust-futures-lite" ,rust-futures-lite-2)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+    (home-page "https://github.com/smol-rs/event-listener")
+    (synopsis "Block or poll on event_listener")
+    (description "This packages provides block and poll on
+event_listener.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-executable-path-1
   (package
     (name "rust-executable-path")
-- 
2.41.0