From 34ab4c5f7a81833d7fb620b8f1f29c812f96e6b8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 4 Jan 2024 11:31:59 +0200 Subject: [PATCH] gnu: Add rust-xkbcommon-dl-0.4. * gnu/packages/crates-graphics.scm (rust-xkbcommon-dl-0.4): New variable. Change-Id: I827d6ca7feaaa7aca91655b56d0c7ff699973caa --- gnu/packages/crates-graphics.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index ce8e469541..a85bc764fa 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -5135,6 +5135,30 @@ (define-public rust-x11-dl-2 (description "This package provides X11 library bindings for Rust.") (license license:expat))) +(define-public rust-xkbcommon-dl-0.4 + (package + (name "rust-xkbcommon-dl") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "xkbcommon-dl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16c6kmgqbffdsnw5w9q97p55d824ss3fqzif2lrh33648j2nc939")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-dlib" ,rust-dlib-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-xkeysym" ,rust-xkeysym-0.2)))) + (home-page "https://github.com/rust-windowing/xkbcommon-dl") + (synopsis "Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings") + (description + "Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.") + (license license:expat))) + (define-public rust-xkeysym-0.2 (package (name "rust-xkeysym")