summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-29 23:30:01 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-31 09:50:40 +0100
commit224358df605e9b24324efd02ad38ebb2b2fa73a0 (patch)
tree9a543141e3558380f34a5d402424eb87380b1f6e /gnu
parentebd3bf0b10a29907c88fcce2782f9a9cf263b905 (diff)
gnu: Add rust-wayland-cursor-0.28.
* gnu/packages/crates-graphics.scm (rust-wayland-cursor-0.28): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-graphics.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 6b5df83ac4..63e65a1d70 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2108,6 +2108,32 @@ and wayland-server.")
(("rust-nix" ,rust-nix-0.14)
("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
+(define-public rust-wayland-cursor-0.28
+ (package
+ (name "rust-wayland-cursor")
+ (version "0.28.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-cursor" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pvf96a9hg7b40vyvamcg491sa0006fr9bzf1xkaf8q22qn15syn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-nix" ,rust-nix-0.18)
+ ("rust-wayland-client" ,rust-wayland-client-0.28)
+ ("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-egl-0.28
(package
(name "rust-wayland-egl")