From: ng0 <ng0@libertad.pw>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] gnu: Add kbd-neo.
Date: Sun, 1 Jan 2017 17:22:24 +0000 [thread overview]
Message-ID: <20170101172225.3408-2-ng0@libertad.pw> (raw)
In-Reply-To: <20170101172225.3408-1-ng0@libertad.pw>
* 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 <jmd@gnu.org>
;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
-;;; Copyright © 2016 ng0 <ng0@libertad.pw>
+;;; Copyright © 2016, 2017 ng0 <ng0@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
next prev parent reply other threads:[~2017-01-01 17:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-01 17:22 Add neo-layout to kbd ng0
2017-01-01 17:22 ` ng0 [this message]
2017-01-01 19:25 ` [PATCH 1/2] gnu: Add kbd-neo Hartmut Goebel
2017-01-01 17:22 ` [PATCH 2/2] gnu: kbd: Add neo layout ng0
2017-01-01 19:15 ` Hartmut Goebel
2017-01-01 17:25 ` Add neo-layout to kbd ng0
2017-01-01 19:34 ` Hartmut Goebel
2017-01-22 1:53 ` ng0
2017-01-22 10:36 ` ng0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170101172225.3408-2-ng0@libertad.pw \
--to=ng0@libertad.pw \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).