From f27392c1f593fe5f52e005ff0499c41f2082b285 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 29 Jun 2020 23:09:37 +0200 Subject: Start with tuxedo-keyboard support --- tuxedo-keyboard.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tuxedo-keyboard.scm diff --git a/tuxedo-keyboard.scm b/tuxedo-keyboard.scm new file mode 100644 index 0000000..6ef3cf5 --- /dev/null +++ b/tuxedo-keyboard.scm @@ -0,0 +1,34 @@ +(define-module (tuxedo-keyboard) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (gnu packages linux) + #:use-module (guix git-download) + #:use-module (guix build-system linux-module)) + +(define-public tuxedo-keyboard + (let ((commit-ref "84442d0b2f3d3bff691ce8b96bb3baced4d692c0")) + (package + (name "tuxedo-keyboard") + (version commit-ref) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tuxedocomputers/tuxedo-keyboard.git") + (commit commit-ref))) + (sha256 + (base32 "104i050ymrj0h0p52q52mn496gchq2k1gnnvxcqffrb69gzsa153")))) + (arguments + `(#:tests? #f ; Has no tests + )) + (native-inputs + `(("linux-headers" ,linux-libre-headers))) + (build-system linux-module-build-system) + (home-page "http://tuxedocomputers.com") + (synopsis "TUXEDO Computers Kernel Module for keyboard backlighting.") + (description + "Additions: + - Sysfs interface to control the brightness, mode, color, on/off state + - DKMS Ready + - Full RGB Color Support + - WMI Support for FN-Keys") + (license license:gpl3+)))) -- cgit v1.2.3