guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: Add xkblayout.


From: guix-commits
Subject: 07/08: gnu: Add xkblayout.
Date: Mon, 9 May 2022 06:28:06 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit b69fc147d740d8c94605b3073967d84f73585f17
Author: Attila Lendvai <attila@lendvai.name>
AuthorDate: Fri May 6 08:22:55 2022 +0200

    gnu: Add xkblayout.
    
    * gnu/packages/xdisorg.scm (xkblayout): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/xdisorg.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index d41c520962..08f4780fc2 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -387,6 +387,30 @@ layers (evdev and uinput), making remapping work in almost 
all the places.")
 state.")
     (license license:gpl3+)))
 
+(define-public xkblayout
+  ;; Upstream doesn't have any version numbers
+  (let ((version "0.0.0")
+        (revision "0")
+        (commit "c0851b0f4bc9bc1a07240605baac8e50abe63fa8"))
+    (package
+      (name "xkblayout")
+      (version (git-version version revision commit))
+      (home-page "https://gitlab.freedesktop.org/whot/xkblayout";)
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0057988l5l7pmwg7dp6cqvj5l4lr0g5z3wq189g6kz36l9rmh675"))))
+      (build-system python-build-system)
+      (synopsis "XKB layout template generator")
+      (description "xkblayout is a CLI application to generate templates for
+a new XKB layout, either in the user's home directory or the system 
directory.")
+      (license license:gpl3+))))
+
 (define-public xclip
   (package
     (name "xclip")



reply via email to

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