gnu: rust-calloop: Add 0.9.3.

* gnu/packages/crates-io.scm (rust-calloop-0.9): New variable.
(rust-calloop-0.6): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-26 11:35:50 +02:00
parent 2e217866cd
commit 551e9e9587
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -9449,8 +9449,35 @@ (define-public rust-calamine-0.16
("rust-serde" ,rust-serde-1)
("rust-zip" ,rust-zip-0.5))))))
(define-public rust-calloop-0.9
(package
(name "rust-calloop")
(version "0.9.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "calloop" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "10mbcsd7fj3cg0a463h3003wycv955cnj4pm2gla2sp5xxhyqbmz"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;XXX fails without stdin, fixed in 0.11
#:cargo-inputs
(("rust-futures-io" ,rust-futures-io-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-log" ,rust-log-0.4)
("rust-nix" ,rust-nix-0.22))
#:cargo-development-inputs
(("rust-futures" ,rust-futures-0.3))))
(home-page "https://github.com/Smithay/calloop")
(synopsis "Callback-based event loop")
(description "This package provides a callback-based event loop.")
(license license:expat)))
(define-public rust-calloop-0.6
(package
(inherit rust-calloop-0.9)
(name "rust-calloop")
(version "0.6.5")
(source
@ -9465,11 +9492,7 @@ (define-public rust-calloop-0.6
`(#:skip-build? #t
#:cargo-inputs
(("rust-log" ,rust-log-0.4)
("rust-nix" ,rust-nix-0.18))))
(home-page "https://github.com/Smithay/calloop")
(synopsis "Callback-based event loop")
(description "This package provides a callback-based event loop.")
(license license:expat)))
("rust-nix" ,rust-nix-0.18))))))
(define-public rust-calloop-0.4
(package