gnu: Add rust-xkbcommon-0.7.

* gnu/packages/crates-graphics.scm (rust-xkbcommon-0.7): New variable.

Change-Id: Id5ade526ddb235303fd6a9f232b18ac57c707b99
This commit is contained in:
Efraim Flashner 2024-01-04 12:07:42 +02:00
parent a4a72b8089
commit ef26d36b5f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5179,6 +5179,30 @@ (define-public rust-x11-dl-2
(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")