[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add inputattach
From: |
guix-commits |
Subject: |
02/07: gnu: Add inputattach |
Date: |
Mon, 18 Mar 2019 05:51:31 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit bf2a9969a26886a4c57df1a6011f18edd2f013d0
Author: Tim Gesthuizen <address@hidden>
Date: Sat Jan 5 20:55:14 2019 +0100
gnu: Add inputattach
* gnu/packages/linux.scm (inputattach): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/linux.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 999caf9..d08784b 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2018 Manuel Graf <address@hidden>
;;; Copyright © 2018 Pierre Langlois <address@hidden>
;;; Copyright © 2018 Vasile Dumitrascu <address@hidden>
+;;; Copyright © 2019 Tim Gesthuizen <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5188,3 +5189,45 @@ the correct permissions and ownership, and then pack
them up, or one would
have to construct the archives directly, without using the archiver.")
(home-page "http://freshmeat.sourceforge.net/projects/fakeroot")
(license license:gpl3+)))
+
+(define-public inputattach
+ (package
+ (name "inputattach")
+ (version "0.42.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/linuxwacom/input-wacom.git")
+ (commit (string-append "input-wacom-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
"04lnn7v0rm4ppbya140im5d4igcl6c1nrqpgbsr0i8wkral0nv7j"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'bootstrap)
+ (delete 'configure)
+ (replace 'build
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "inputattach"
+ (invoke (string-append (assoc-ref inputs "gcc")
+ "/bin/gcc")
+ "-o" "inputattach" "inputattach.c"))
+ #t))
+ (delete 'check)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((target-dir (string-append
+ (assoc-ref outputs "out")
+ "/bin/")))
+ (mkdir-p target-dir)
+ (copy-file "inputattach/inputattach"
+ (string-append target-dir
+ "inputattach"))
+ #t))))))
+ (home-page "https://linuxwacom.github.io/")
+ (synopsis "Dispatch input peripherals events to a device file")
+ (description "inputattach dispatches input events from several device
+types and interfaces and translates so that the X server can use them.")
+ (license license:gpl2+)))
- branch master updated (c0d43f6 -> b9c88c2), guix-commits, 2019/03/18
- 04/07: gnu: inputattach: Build with -O2., guix-commits, 2019/03/18
- 01/07: describe: Warn about 'GUIX_PACKAGE_PATH' in json and recutils format., guix-commits, 2019/03/18
- 06/07: gnu: Add xarcan., guix-commits, 2019/03/18
- 05/07: doc: Expound on inputattach service., guix-commits, 2019/03/18
- 02/07: gnu: Add inputattach,
guix-commits <=
- 07/07: gnu: Add arcan-wayland., guix-commits, 2019/03/18
- 03/07: gnu: Add inputattach service., guix-commits, 2019/03/18