guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26/44: gnu: Add rust-event-listener-strategy-0.4.


From: guix-commits
Subject: 26/44: gnu: Add rust-event-listener-strategy-0.4.
Date: Mon, 12 Feb 2024 07:40:41 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 3f95586a1b47ac67da7c9b31fa873214594880d7
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Tue Jan 30 16:25:11 2024 +0100

    gnu: Add rust-event-listener-strategy-0.4.
    
    * gnu/packages/crates-io.scm (rust-event-listener-strategy-0.4): Add
    variable.
    
    Change-Id: I254717f31ee2d2c2d527c7bb325a6e29508a78bf
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f4155f26f8..b5882c7e56 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21988,6 +21988,29 @@ blocking data structures.")
        (("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 package 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]