guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/25: gnu: Add rust-xkbcommon-0.5.


From: guix-commits
Subject: 16/25: gnu: Add rust-xkbcommon-0.5.
Date: Wed, 17 Jan 2024 13:49:46 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 14be581021a570951eeaeca5312740c00e64ed40
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sun Jan 7 12:49:27 2024 +0100

    gnu: Add rust-xkbcommon-0.5.
    
    * gnu/packages/crates-graphics.scm (rust-xkbcommon-0.5): New variable.
    (rust-xkbcommon-0.7)[description]: Improve description.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I514a7e181034eaefa1f2758e06972d601d431234
---
 gnu/packages/crates-graphics.scm | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 743606b9ae..9ac02ed5f1 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
+;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5671,9 +5672,28 @@ the platform-specific getters provided by winit, or 
another library.")
     (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.")
+    (description "This package provides a set of bindings and safe wrappers
+for @code{libxkbcommon}.")
     (license license:expat)))
 
+(define-public rust-xkbcommon-0.5
+  (package
+    (inherit rust-xkbcommon-0.7)
+    (name "rust-xkbcommon")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "xkbcommon" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "123b96fbp693z43z2f2gbadb9dzf523n2d21j3izcaz9k6sjbnsj"))))
+    (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.7))
+       #:cargo-development-inputs (("rust-evdev" ,rust-evdev-0.11))))))
+
 (define-public rust-xkbcommon-dl-0.4
   (package
     (name "rust-xkbcommon-dl")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]