gnu: Add rust-wayland-protocols-0.31.

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

Change-Id: I8293db369d41c0cff1676bd68773bb1b71253550
This commit is contained in:
Efraim Flashner 2024-01-04 11:18:57 +02:00
parent 3427ea37b0
commit 65c8da7fe1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3858,8 +3858,34 @@ (define-public rust-wayland-egl-0.28
(native-inputs
(list pkg-config))))
(define-public rust-wayland-protocols-0.31
(package
(name "rust-wayland-protocols")
(version "0.31.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-protocols" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "077257bxv21whi33wm0lz5jkq6jnx0spz5jkq8yr44x9gc8dflz2"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-wayland-backend" ,rust-wayland-backend-0.3)
("rust-wayland-client" ,rust-wayland-client-0.31)
("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
("rust-wayland-server" ,rust-wayland-server-0.31))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Generated API for the officials Wayland protocol extensions")
(description
"This package provides a generated API for the officials Wayland protocol
extensions.")
(license license:expat)))
(define-public rust-wayland-protocols-0.30
(package
(inherit rust-wayland-protocols-0.31)
(name "rust-wayland-protocols")
(version "0.30.1")
(source
@ -3870,20 +3896,13 @@ (define-public rust-wayland-protocols-0.30
(sha256
(base32
"0kcvvli38gdjb9c7dpa2s0ix4nnqfq7n2bbc39370kx9bhg10a1v"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-wayland-backend" ,rust-wayland-backend-0.1)
("rust-wayland-client" ,rust-wayland-client-0.30)
("rust-wayland-scanner" ,rust-wayland-scanner-0.30)
("rust-wayland-server" ,rust-wayland-server-0.30))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Generated API for the officials Wayland protocol extensions")
(description
"This package provides a generated API for the officials Wayland protocol
extensions.")
(license license:expat)))
("rust-wayland-server" ,rust-wayland-server-0.30))))))
(define-public rust-wayland-protocols-0.29
(package