gnu: Add rust-wayland-client-0.30.

* gnu/packages/crates-graphics.scm (rust-wayland-client-0.30): New
variable.
(rust-wayland-client-0.29): Inherit from rust-wayland-client-0.30.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Aleksandr Vityazev 2023-10-07 03:02:28 +03:00 committed by Efraim Flashner
parent c94337e1aa
commit c6f6f339a5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2679,8 +2679,43 @@ (define-public rust-wayland-backend-0.1
protocol.")
(license license:expat)))
(define-public rust-wayland-client-0.30
(package
(name "rust-wayland-client")
(version "0.30.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-client" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1j3as2g1znrs2lpkksqcvx8pag85yiwwbcv6wb3lyrqgfxa9d728"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; use of undeclared crate or module `wayland_protocols`
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-calloop" ,rust-calloop-0.10)
("rust-log" ,rust-log-0.4)
("rust-nix" ,rust-nix-0.26)
("rust-wayland-backend" ,rust-wayland-backend-0.1)
("rust-wayland-scanner" ,rust-wayland-scanner-0.30))
#:cargo-development-inputs
(("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-tempfile" ,rust-tempfile-3))))
(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.29
(package
(inherit rust-wayland-client-0.30)
(name "rust-wayland-client")
(version "0.29.5")
(source
@ -2690,7 +2725,6 @@ (define-public rust-wayland-client-0.29
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05b7qikqj22rjy17kqw5ar7j2chpy18dr0gqapvwjfd00n60cfrz"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #false ;circular dependency on wayland-protocols
#:cargo-inputs
@ -2712,14 +2746,7 @@ (define-public rust-wayland-client-0.29
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)))
rust-wayland-sys-0.29))))
(define-public rust-wayland-client-0.28
(package