Merge pull request #121266 from blanky0230/tuxedo-keyboard-update

tuxedo-keyboard: 2019-08-26 -> v3.0.5
This commit is contained in:
Maximilian Bosch 2021-05-05 19:48:49 +02:00 committed by GitHub
commit 8e72457f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -1,16 +1,18 @@
{ lib, stdenv, fetchFromGitHub, kernel, kmod }:
{ lib, stdenv, fetchFromGitHub, kernel, linuxHeaders}:
stdenv.mkDerivation rec {
pname = "tuxedo-keyboard-${kernel.version}";
version = "2019-08-26";
version = "3.0.5";
src = fetchFromGitHub {
owner = "tuxedocomputers";
repo = "tuxedo-keyboard";
rev = "d65e76e84cfd8169591fc2a0a7c9219fa19da1b5";
sha256 = "1s48qpwybwh5pwqas2d1v2a7x4r97sm4hr9i4902r1d7h384bv17";
rev = "v${version}";
sha256 = "123ady2bi2dwbajy3pgv10l3g2pyhi5k31c1ii0zcrvl2qqhndck";
};
buildInputs = [ linuxHeaders ];
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" ];
installPhase = ''
@ -21,7 +23,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Full color keyboard driver for tuxedo computers laptops";
homepage = "https://github.com/tuxedocomputers/tuxedo-keyboard/";
license = licenses.gpl2;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.blanky0230 ];
};

View File

@ -20262,7 +20262,7 @@ in
facetimehd = callPackage ../os-specific/linux/facetimehd { };
tuxedo-keyboard = callPackage ../os-specific/linux/tuxedo-keyboard { };
tuxedo-keyboard = if lib.versionAtLeast kernel.version "4.14" then callPackage ../os-specific/linux/tuxedo-keyboard { } else null;
jool = callPackage ../os-specific/linux/jool { };