From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 1/2] gnu: Add kbd-neo. Date: Sun, 1 Jan 2017 17:22:24 +0000 Message-ID: <20170101172225.3408-2-ng0@libertad.pw> References: <20170101172225.3408-1-ng0@libertad.pw> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNjpk-0005gt-3M for guix-devel@gnu.org; Sun, 01 Jan 2017 12:22:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNjpi-0003Fo-Q7 for guix-devel@gnu.org; Sun, 01 Jan 2017 12:22:12 -0500 Received: from aibo.runbox.com ([91.220.196.211]:41891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cNjpi-0003F0-Il for guix-devel@gnu.org; Sun, 01 Jan 2017 12:22:10 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cNjph-0002G5-Cd for guix-devel@gnu.org; Sun, 01 Jan 2017 18:22:09 +0100 In-Reply-To: <20170101172225.3408-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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 ;;; Copyright © 2016 Marius Bakke ;;; Copyright © 2016 Rene Saavedra -;;; Copyright © 2016 ng0 +;;; Copyright © 2016, 2017 ng0 ;;; ;;; 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