mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 19:57:39 -05:00
gnu: Add rust-event-listener-2.
* gnu/packages/crates-io.scm (rust-event-listener-2): New variable.
This commit is contained in:
parent
316e4ab678
commit
d194a3375e
1 changed files with 24 additions and 0 deletions
|
@ -9373,6 +9373,30 @@ (define-public rust-escargot-0.3
|
|||
(("rust-serde" ,rust-serde-1)
|
||||
("rust-serde-json" ,rust-serde-json-1))))))
|
||||
|
||||
(define-public rust-event-listener-2
|
||||
(package
|
||||
(name "rust-event-listener")
|
||||
(version "2.5.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "event-listener" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0ndyp41pb2cx7gxijqh4ymnc47nyrvhvir7rvjlw6x09ayb10lzp"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-development-inputs
|
||||
(("rust-futures" ,rust-futures-0.3)
|
||||
("rust-waker-fn" ,rust-waker-fn-1))))
|
||||
(home-page "https://github.com/stjepang/event-listener")
|
||||
(synopsis "Notify async tasks or threads")
|
||||
(description
|
||||
"This is a synchronization primitive similar to @code{eventcounts}.
|
||||
You can use this crate to turn non-blocking data structures into async or
|
||||
blocking data structures.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-exitfailure-0.5
|
||||
(package
|
||||
(name "rust-exitfailure")
|
||||
|
|
Loading…
Reference in a new issue