Subject: [PATCH v2 03/10] gnu: Add rust-event-listener-strategy-0.1.

From: Tomas Volf <[email-masked]>
Date: Tue, 5 Mar 2024 00:19:12 +0100

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

Change-Id: I15b35f677c57ec5205ea140e65c1b70042fbf661
---
v2: Inherit from rust-event-listener-strategy-0.4.

 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aaf2157661..e2e2f40907 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22343,6 +22343,23 @@ (define-public rust-event-listener-strategy-0.4
     (description "This package provides block and poll on event_listener.")
     (license (list license:asl2.0 license:expat))))

+(define-public rust-event-listener-strategy-0.1
+  (package
+    (inherit rust-event-listener-strategy-0.4)
+    (name "rust-event-listener-strategy")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "event-listener-strategy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1z99km9lwya36bxhvrz4rsl3nhqhhlnnx7a2gdz4nzpa6177pj8m"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-event-listener" ,rust-event-listener-3)
+                       ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))))))
+
 (define-public rust-executable-path-1
   (package
     (name "rust-executable-path")
--
2.41.0