me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-wayland-cursor-0.31.

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

Change-Id: I02450b25bbad32e23bceee0f8878283cd1f14acb
master
Efraim Flashner 2024-01-04 11:18:25 +02:00
parent 980190846b
commit 3427ea37b0
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 26 additions and 9 deletions

View File

@ -3746,8 +3746,33 @@ and wayland-server.")
(("rust-nix" ,rust-nix-0.14)
("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
(define-public rust-wayland-cursor-0.31
(package
(name "rust-wayland-cursor")
(version "0.31.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-cursor" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nxdyyg3a3649n316fbnm8rak5k90j580kfnfxn9src6x45a4jm4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-nix" ,rust-nix-0.26)
("rust-wayland-client" ,rust-wayland-client-0.31)
("rust-xcursor" ,rust-xcursor-0.3))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Bindings to libwayland-cursor")
(description
"This crate provides helpers to load the system provided cursor images
and load them into WlBuffers as well as obtain the necessary metadata to
properly display animated cursors.")
(license license:expat)))
(define-public rust-wayland-cursor-0.29
(package
(inherit rust-wayland-cursor-0.31)
(name "rust-wayland-cursor")
(version "0.29.5")
(source
@ -3757,21 +3782,13 @@ and wayland-server.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0qbn6wqmjibkx3lb3ggbp07iabzgx2zhrm0wxxxjbmhkdyvccrb8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-nix" ,rust-nix-0.24)
("rust-wayland-client" ,rust-wayland-client-0.29)
("rust-xcursor" ,rust-xcursor-0.3))))
(inputs
(list rust-nix-0.24 rust-wayland-client-0.29 rust-xcursor-0.3))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Bindings to libwayland-cursor")
(description
"This crate provides helpers to load the system provided cursor images
and load them into WlBuffers as well as obtain the necessary metadata to
properly display animated cursors.")
(license license:expat)))
(list rust-nix-0.24 rust-wayland-client-0.29 rust-xcursor-0.3))))
(define-public rust-wayland-cursor-0.28
(package