gnu: Add rust-smithay-client-toolkit-0.16.

* gnu/packages/crates-graphics.scm (rust-smithay-client-toolkit-0.16):
New variable.
[rust-smithay-client-toolkit-0.15]: Inherit from
rust-smithay-client-toolkit-0.16.
This commit is contained in:
Efraim Flashner 2023-04-23 16:43:53 +03:00
parent 73c97a0a77
commit f46dabb185
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2239,8 +2239,41 @@ (define-public rust-rgb-0.8
first-class Rust objects.")
(license license:expat)))
(define-public rust-smithay-client-toolkit-0.16
(package
(name "rust-smithay-client-toolkit")
(version "0.16.0")
(source (origin
(method url-fetch)
(uri (crate-uri "smithay-client-toolkit" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0m7l0zhl9s3321yj8z6hf1g0w3l2ay85irgcw2r5wwfj69yw81zk"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-calloop" ,rust-calloop-0.10)
("rust-dlib" ,rust-dlib-0.5)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
("rust-memmap2" ,rust-memmap2-0.5)
("rust-nix" ,rust-nix-0.24)
("rust-pkg-config" ,rust-pkg-config-0.3)
("rust-wayland-client" ,rust-wayland-client-0.29)
("rust-wayland-cursor" ,rust-wayland-cursor-0.29)
("rust-wayland-protocols" ,rust-wayland-protocols-0.29))
#:cargo-development-inputs (("rust-image" ,rust-image-0.24))))
(home-page "https://github.com/smithay/client-toolkit")
(synopsis "Toolkit for making client Wayland applications")
(description
"This package provides a toolkit for making client Wayland applications.")
(license license:expat)))
(define-public rust-smithay-client-toolkit-0.15
(package
(inherit rust-smithay-client-toolkit-0.16)
(name "rust-smithay-client-toolkit")
(version "0.15.4")
(source
@ -2250,7 +2283,6 @@ (define-public rust-smithay-client-toolkit-0.15
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "18wxla80y6m4l3dwawi7bl1d9m9dfcg4sxxjcgjqq3psjxmg2a4a"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@ -2264,12 +2296,7 @@ (define-public rust-smithay-client-toolkit-0.15
("rust-pkg-config" ,rust-pkg-config-0.3)
("rust-wayland-client" ,rust-wayland-client-0.29)
("rust-wayland-cursor" ,rust-wayland-cursor-0.29)
("rust-wayland-protocols" ,rust-wayland-protocols-0.29))))
(home-page "https://github.com/smithay/client-toolkit")
(synopsis "Toolkit for making client Wayland applications")
(description
"This package provides a toolkit for making client Wayland applications.")
(license license:expat)))
("rust-wayland-protocols" ,rust-wayland-protocols-0.29))))))
(define-public rust-smithay-client-toolkit-0.12
(package