* 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 <j...@gnu.org> ;;; Copyright © 2016 Marius Bakke <mba...@fastmail.com> ;;; Copyright © 2016 Rene Saavedra <ren...@openmailbox.org> -;;; Copyright © 2016 ng0 <n...@libertad.pw> +;;; Copyright © 2016, 2017 ng0 <n...@libertad.pw> ;;; ;;; 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