mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
tuxedo-keyboard: 2019-08-26 -> v3.0.5
This commit is contained in:
parent
71b873942e
commit
52365fe35a
2 changed files with 8 additions and 6 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
|
@ -20206,7 +20206,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 a new issue