guix-devel
[Top][All Lists]
Advanced

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

[PATCH 1/2] gnu: Add kbd-neo.


From: ng0
Subject: [PATCH 1/2] gnu: Add kbd-neo.
Date: Sun, 1 Jan 2017 17:22:24 +0000

* gnu/packages/linux.scm (kbd-neo): New variable.
---
 gnu/packages/linux.scm | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f0d01ece2..196ae8c49 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -17,7 +17,7 @@
 ;;; Copyright © 2016 John Darrington <address@hidden>
 ;;; Copyright © 2016 Marius Bakke <address@hidden>
 ;;; Copyright © 2016 Rene Saavedra <address@hidden>
-;;; Copyright © 2016 ng0 <address@hidden>
+;;; Copyright © 2016, 2017 ng0 <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -83,6 +83,7 @@
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
   #:use-module (guix download)
+  #:use-module (guix svn-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -1578,6 +1579,24 @@ system.")
     (license (list license:gpl2                   ;programs
                    license:lgpl2.1))))            ;library
 
+;; The Neo layout is a GPL3 licensed layout already present in Xorg,
+;; but not in kbd. home-page: https://neo-layout.org
+(define kbd-neo
+  (let ((svn-revision 2476)
+        (revision "1"))
+    (origin
+      (method svn-fetch)
+      (uri (svn-reference
+            ;; The SVN branch with the neo.map file.
+            (url "https://svn.neo-layout.org/linux/console";)
+            (revision svn-revision)))
+      (file-name
+       (string-append name "-" (number->string svn-revision)
+                      "." revision "-checkout"))
+      (sha256
+       (base32
+        "169hmlwcwz5sp605i8q5ikckxwsj1n3isylrnynflp30gbv9zrwn")))))
+
 (define-public kbd
   (package
     (name "kbd")
-- 
2.11.0




reply via email to

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