gnu: rust-wayland-commons: Add 0.29.4.

* gnu/packages/crates-graphics.scm (rust-wayland-commons-0.29): New variable.
(rust-wayland-commons-0.28): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-27 13:45:22 +02:00
parent b6242d29f4
commit 90ff6c9a0b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -2504,8 +2504,37 @@ (define-public rust-wayland-client-0.21
(("rust-byteorder" ,rust-byteorder-1) (("rust-byteorder" ,rust-byteorder-1)
("rust-tempfile" ,rust-tempfile-3)))))) ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-wayland-commons-0.29
(package
(name "rust-wayland-commons")
(version "0.29.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-commons" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0gnk4a771i3g1k4fbzx54xnganpc9j68jrx8xj839hfp83iybxll"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-nix" ,rust-nix-0.22)
("rust-once-cell" ,rust-once-cell-1)
("rust-smallvec" ,rust-smallvec-1)
("rust-wayland-sys" ,rust-wayland-sys-0.29))))
(inputs
(list rust-nix-0.22 rust-once-cell-1 rust-smallvec-1
rust-wayland-sys-0.29))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Types and structures used by wayland-client and wayland-server")
(description
"This package provides common types and structures used by wayland-client
and wayland-server.")
(license license:expat)))
(define-public rust-wayland-commons-0.28 (define-public rust-wayland-commons-0.28
(package (package
(inherit rust-wayland-commons-0.29)
(name "rust-wayland-commons") (name "rust-wayland-commons")
(version "0.28.3") (version "0.28.3")
(source (source
@ -2523,13 +2552,7 @@ (define-public rust-wayland-commons-0.28
("rust-smallvec" ,rust-smallvec-1)))) ("rust-smallvec" ,rust-smallvec-1))))
(inputs (inputs
(list rust-nix-0.18 rust-once-cell-1 rust-smallvec-1 (list rust-nix-0.18 rust-once-cell-1 rust-smallvec-1
rust-wayland-sys-0.28)) rust-wayland-sys-0.28))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Types and structures used by wayland-client and wayland-server")
(description
"This package provides common types and structures used by wayland-client
and wayland-server.")
(license license:expat)))
(define-public rust-wayland-commons-0.23 (define-public rust-wayland-commons-0.23
(package (package