diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 12:07:42 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:22 +0200 |
commit | ef26d36b5f0ce02608efefdf032d173360501319 (patch) | |
tree | 7a0f08067cb308a54fd579879caecaeb9c06a36e | |
parent | a4a72b808910dea72623e93d946ee9123a212216 (diff) | |
download | guix-ef26d36b5f0ce02608efefdf032d173360501319.tar.gz guix-ef26d36b5f0ce02608efefdf032d173360501319.zip |
gnu: Add rust-xkbcommon-0.7.
* gnu/packages/crates-graphics.scm (rust-xkbcommon-0.7): New variable.
Change-Id: Id5ade526ddb235303fd6a9f232b18ac57c707b99
-rw-r--r-- | gnu/packages/crates-graphics.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 132f9b5b68..30f5841e7a 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -5179,6 +5179,30 @@ 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-xkbcommon-0.7 + (package + (name "rust-xkbcommon") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "xkbcommon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07n9shhcls66wjvmk5pzqql46ipfdv7b8hbc384wgv9hk4jpv1hk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memmap2" ,rust-memmap2-0.8) + ("rust-xkeysym" ,rust-xkeysym-0.2)) + #:cargo-development-inputs (("rust-evdev" ,rust-evdev-0.11)))) + (inputs (list libxkbcommon)) + (home-page "https://github.com/rust-x-bindings/xkbcommon-rs") + (synopsis "Rust bindings and wrappers for libxkbcommon") + (description "Rust bindings and wrappers for libxkbcommon.") + (license license:expat))) + (define-public rust-xkbcommon-dl-0.4 (package (name "rust-xkbcommon-dl") |