forked from mirrors/nixpkgs
ithc: init at unstable-2022-06-07
This commit is contained in:
parent
42ca9bef09
commit
7cfe5b129a
35
pkgs/os-specific/linux/ithc/default.nix
Normal file
35
pkgs/os-specific/linux/ithc/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchFromGitHub, kernel }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ithc";
|
||||
version = "unstable-2022-06-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "quo";
|
||||
repo = "ithc-linux";
|
||||
rev = "5af2a2213d2f3d944b19ec7ccdb96f16d56adddb";
|
||||
hash = "sha256-p4TooWUOWPfNdePE18ESmRJezPDAl9nLb55LQtkJiSg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
makeFlags = kernel.makeFlags ++ [
|
||||
"VERSION=${version}"
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i ./Makefile -e '/depmod/d'
|
||||
'';
|
||||
|
||||
installFlags = [ "INSTALL_MOD_PATH=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Linux driver for Intel Touch Host Controller";
|
||||
homepage = "https://github.com/quo/ithc-linux";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ aacebedo ];
|
||||
platforms = platforms.linux;
|
||||
broken = kernel.kernelOlder "5.9";
|
||||
};
|
||||
}
|
|
@ -487,6 +487,8 @@ in {
|
|||
|
||||
xpadneo = callPackage ../os-specific/linux/xpadneo { };
|
||||
|
||||
ithc = callPackage ../os-specific/linux/ithc { };
|
||||
|
||||
zenpower = callPackage ../os-specific/linux/zenpower { };
|
||||
|
||||
inherit (callPackage ../os-specific/linux/zfs {
|
||||
|
|
Loading…
Reference in a new issue