summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-01-30 16:25:11 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:51 +0200
commit7b3f2afed1cfa66675396b7bb9bf2f41ff0d1a57 (patch)
tree3fe0c11226f7905dfbe615d3f53ad6b03b753b81 /gnu
parente8745331da42aea3f53946fc222c5aa84111a231 (diff)
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>
Diffstat (limited to 'gnu')
-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 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")