tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hid-ite8291r3: init at unstable-2022-06-01
Alexandre Acebedo
3 years ago
b0873c03
749a80eb
+37
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
hid-ite8291r3
default.nix
top-level
linux-kernels.nix
+35
pkgs/os-specific/linux/hid-ite8291r3/default.nix
···
1
1
+
{ lib, stdenv, fetchFromGitHub, kernel }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "hid-ite8291r3";
5
5
+
version = "unstable-2022-06-01";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "pobrn";
9
9
+
repo = "hid-ite8291r3";
10
10
+
rev = "48e04cb96517f8574225ebabb286775feb942ef5";
11
11
+
hash = "sha256-/69vvVbAVULDW8rwDYSj5706vrqJ6t4s/T6s3vmG9wk=";
12
12
+
};
13
13
+
14
14
+
nativeBuildInputs = kernel.moduleBuildDependencies;
15
15
+
16
16
+
makeFlags = kernel.makeFlags ++ [
17
17
+
"VERSION=${version}"
18
18
+
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
19
19
+
];
20
20
+
21
21
+
installPhase = ''
22
22
+
runHook preInstall
23
23
+
install -D hid-ite8291r3.ko -t $out/lib/modules/${kernel.modDirVersion}/extra
24
24
+
runHook postInstall
25
25
+
'';
26
26
+
27
27
+
meta = with lib; {
28
28
+
description = "Linux driver for the ITE 8291 RGB keyboard backlight controller";
29
29
+
homepage = "https://github.com/pobrn/hid-ite8291r3/";
30
30
+
license = licenses.gpl2Plus;
31
31
+
maintainers = with maintainers; [ aacebedo ];
32
32
+
platforms = platforms.linux;
33
33
+
broken = kernel.kernelOlder "5.9";
34
34
+
};
35
35
+
}
+2
pkgs/top-level/linux-kernels.nix
···
499
499
500
500
qc71_laptop = callPackage ../os-specific/linux/qc71_laptop { };
501
501
502
502
+
hid-ite8291r3 = callPackage ../os-specific/linux/hid-ite8291r3 { };
503
503
+
502
504
} // lib.optionalAttrs config.allowAliases {
503
505
ati_drivers_x11 = throw "ati drivers are no longer supported by any kernel >=4.1"; # added 2021-05-18;
504
506
});