Subject: bug#55276: closed (Re: bug#55276: [PATCH] gnu: Add xkblayout.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 09 May 2022 10:08:02 +0000

Your bug report

#55276: [PATCH] gnu: Add xkblayout.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
55276: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55276
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#55276: [PATCH] gnu: Add xkblayout.
From: Ludovic Courtès <[email-masked]>
To: Attila Lendvai <[email-masked]>
Cc: [email-masked], Maxime Devos <[email-masked]>
Date: Mon, 09 May 2022 12:06:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Attila Lendvai <[email-masked]> skribis:

> * gnu/packages/xdisorg.scm (xkblayout): New variable.

Applied, thanks!  And thanks to Maxime for reviewing.

Ludo’.

Subject: [PATCH] gnu: Add xkblayout.
From: Attila Lendvai <[email-masked]>
To: [email-masked]
Cc: Attila Lendvai <[email-masked]>
Date: Thu, 5 May 2022 18:46:59 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/xdisorg.scm (xkblayout): New variable.
---
 gnu/packages/xdisorg.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index d41c520962..b88f1b9445 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -387,6 +387,29 @@ (define-public xkb-switch
 state.")
     (license license:gpl3+)))
 
+(define-public xkblayout
+  ;; Upstream has no tags as of 2022-05-04
+  (let ((revision "0")
+        (commit "c0851b0f4bc9bc1a07240605baac8e50abe63fa8"))
+    (package
+      (name "xkblayout")
+      (version (string-append "0.0.0-" revision "-" (substring commit 0 7)))
+      (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")
-- 
2.35.1