mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #121266 from blanky0230/tuxedo-keyboard-update
tuxedo-keyboard: 2019-08-26 -> v3.0.5
This commit is contained in:
commit
8e72457f86
@ -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 ];
|
||||
};
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user