From 90fcccaf6f6366edd663d332097323997baf3a07 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 12:07:44 +0200 Subject: gnu: Add rust-cursor-icon-1. * gnu/packages/crates-graphics.scm (rust-cursor-icon-1): New variable. Change-Id: I46fada263179d8418e2b03e3aeddbe17d8e1ef97 --- gnu/packages/crates-graphics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 @@ (define-public rust-core-video-sys-0.1 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") -- cgit v1.2.3