gnu: rust-wayland-client: Add 0.29.4.

* gnu/packages/crates-graphics.scm (rust-wayland-client-0.29): New variable.
(rust-wayland-client-0.28): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-27 13:54:51 +02:00
parent 31b08f77e7
commit 8764f1bffc
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -2406,8 +2406,50 @@ (define-public rust-tiff-0.2
("rust-num-derive" ,rust-num-derive-0.2)
("rust-num-traits" ,rust-num-traits-0.2))))))
(define-public rust-wayland-client-0.29
(package
(name "rust-wayland-client")
(version "0.29.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-client" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13s5sj9344izk2g48yizk81kcg8jg4940gg2v6bzcmrjwxh388li"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #false ;circular dependency on wayland-protocols
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-downcast-rs" ,rust-downcast-rs-1)
("rust-libc" ,rust-libc-0.2)
("rust-nix" ,rust-nix-0.22)
("rust-scoped-tls" ,rust-scoped-tls-1)
("rust-wayland-commons" ,rust-wayland-commons-0.29)
("rust-wayland-scanner" ,rust-wayland-scanner-0.29))
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))
(inputs
(list rust-bitflags-1
rust-downcast-rs-1
rust-libc-0.2
rust-nix-0.22
rust-scoped-tls-1
rust-wayland-commons-0.29
rust-wayland-scanner-0.29
rust-wayland-sys-0.29))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
"Rust bindings to the standard C implementation of the wayland protocol")
(description
"This package provides Rust bindings to the standard C implementation of
the wayland protocol, client side.")
(license license:expat)))
(define-public rust-wayland-client-0.28
(package
(inherit rust-wayland-client-0.29)
(name "rust-wayland-client")
(version "0.28.3")
(source
@ -2435,14 +2477,7 @@ (define-public rust-wayland-client-0.28
rust-scoped-tls-1
rust-wayland-commons-0.28
rust-wayland-scanner-0.28
rust-wayland-sys-0.28))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
"Rust bindings to the standard C implementation of the wayland protocol")
(description
"This package provides Rust bindings to the standard C implementation of
the wayland protocol, client side.")
(license license:expat)))
rust-wayland-sys-0.28))))
(define-public rust-wayland-client-0.23
(package