summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 12:07:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:23 +0200
commit90fcccaf6f6366edd663d332097323997baf3a07 (patch)
treee10247b19ff8ef6c49dd32ed73125a01f83aa832
parent86955cd7b281cd828a39ffb158e12923992fd701 (diff)
downloadguix-90fcccaf6f6366edd663d332097323997baf3a07.tar.gz
gnu: Add rust-cursor-icon-1.
* gnu/packages/crates-graphics.scm (rust-cursor-icon-1): New variable.

Change-Id: I46fada263179d8418e2b03e3aeddbe17d8e1ef97
-rw-r--r--gnu/packages/crates-graphics.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index f0d92ef869..d3a55d5dcd 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -789,6 +789,28 @@ types.")
 and iOS.")
     (license license:expat)))
 
+(define-public rust-cursor-icon-1
+  (package
+    (name "rust-cursor-icon")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cursor-icon" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14brf4vd6az9hnszwzqj7xyfaymqx9806d4i7xmwlaja3wjsr9ln"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-wayland-client" ,rust-wayland-client-0.31)
+        ("rust-wayland-cursor" ,rust-wayland-cursor-0.31))))
+    (home-page "https://github.com/rust-windowing/cursor-icon")
+    (synopsis "Cross platform cursor icon type")
+    (description "This package provides a cross platform cursor icon type.")
+    (license (list license:expat license:asl2.0 license:zlib))))
+
 (define-public rust-d3d12-0.7
   (package
     (name "rust-d3d12")