Merge pull request #258397 from Atemu/init/nct6687d

kernelPackages.nct6687d: init at unstable-2023-09-22

authored by Atemu and committed by GitHub 95492983 deb00097

+42
+40
pkgs/os-specific/linux/nct6687d/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , kernel 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "nct6687d"; 9 + version = "unstable-2023-09-22"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Fred78290"; 13 + repo = "nct6687d"; 14 + rev = "cdfe855342a9383a9c4c918d51576c36d989070d"; 15 + hash = "sha256-iOLWxj4I6oYkNXFSkmw7meTQEnrIfb4Mw+/LkzgzDxM="; 16 + }; 17 + 18 + setSourceRoot = '' 19 + export sourceRoot=$(pwd)/source 20 + ''; 21 + 22 + nativeBuildInputs = kernel.moduleBuildDependencies; 23 + 24 + makeFlags = kernel.makeFlags ++ [ 25 + "-C" "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 26 + "M=$(sourceRoot)" 27 + ]; 28 + 29 + buildFlags = [ "modules" ]; 30 + installFlags = [ "INSTALL_MOD_PATH=${placeholder "out"}" ]; 31 + installTargets = [ "modules_install" ]; 32 + 33 + meta = with lib; { 34 + description = "Kernel module for the Nuvoton NCT6687-R chipset found on many B550/B650 motherboards from ASUS and MSI"; 35 + license = with licenses; [ gpl2Only ]; 36 + homepage = "https://github.com/Fred78290/nct6687d/"; 37 + platforms = platforms.linux; 38 + maintainers = with maintainers; [ atemu ]; 39 + }; 40 + }
+2
pkgs/top-level/linux-kernels.nix
··· 393 394 mbp2018-bridge-drv = callPackage ../os-specific/linux/mbp-modules/mbp2018-bridge-drv { }; 395 396 new-lg4ff = callPackage ../os-specific/linux/new-lg4ff { }; 397 398 nvidiabl = callPackage ../os-specific/linux/nvidiabl { };
··· 393 394 mbp2018-bridge-drv = callPackage ../os-specific/linux/mbp-modules/mbp2018-bridge-drv { }; 395 396 + nct6687d = callPackage ../os-specific/linux/nct6687d { }; 397 + 398 new-lg4ff = callPackage ../os-specific/linux/new-lg4ff { }; 399 400 nvidiabl = callPackage ../os-specific/linux/nvidiabl { };