summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:31:38 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:14 +0200
commitc85c1bf21e89de99c492c179bcfca86e3a199259 (patch)
tree87caaf6c595fc4d801145b2581bcdba0176e1e47
parent16a97a9c2182950aebbc4313ddd1abffb83c1fa3 (diff)
gnu: Add rust-xkeysym-0.2.
* gnu/packages/crates-graphics.scm (rust-xkeysym-0.2): New variable. Change-Id: Ie5fb3a1d32f3cea2e3c051c75219dc27dce96130
-rw-r--r--gnu/packages/crates-graphics.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 93db8ab422..ce8e469541 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -5135,6 +5135,29 @@ the platform-specific getters provided by winit, or another library.")
(description "This package provides X11 library bindings for Rust.")
(license license:expat)))
+(define-public rust-xkeysym-0.2
+ (package
+ (name "rust-xkeysym")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xkeysym" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0886dn1rlkiazcp5n6ayqfg0ibpiny62dlbiyr9v4l32nxl8wjh5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-x11rb" ,rust-x11rb-0.11))))
+ (home-page "https://github.com/notgull/xkeysym")
+ (synopsis "Rust library for working with X11 keysyms")
+ (description
+ "This package provides a library for working with X11 keysyms.")
+ (license (list license:expat license:asl2.0 license:zlib))))
+
(define-public rust-y4m-0.8
(package
(name "rust-y4m")