Merge pull request #68903 from dtzWill/feature/intel-speed-select
linuxPackages*.intel-speed-select (5.3+)
This commit is contained in:
commit
817a1c50d8
20
pkgs/os-specific/linux/intel-speed-select/default.nix
Normal file
20
pkgs/os-specific/linux/intel-speed-select/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, kernel }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "intel-speed-select";
|
||||
inherit (kernel) src version;
|
||||
|
||||
makeFlags = [ "bindir=${placeholder "out"}/bin" ];
|
||||
|
||||
postPatch = ''
|
||||
cd tools/power/x86/intel-speed-select
|
||||
sed -i 's,/usr,,g' Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool to enumerate and control the Intel Speed Select Technology features";
|
||||
homepage = https://www.kernel.org/;
|
||||
license = licenses.gpl2;
|
||||
platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific
|
||||
};
|
||||
}
|
@ -15795,6 +15795,8 @@ in
|
||||
|
||||
e1000e = if stdenv.lib.versionOlder kernel.version "4.10" then callPackage ../os-specific/linux/e1000e {} else null;
|
||||
|
||||
intel-speed-select = if stdenv.lib.versionAtLeast kernel.version "5.3" then callPackage ../os-specific/linux/intel-speed-select { } else null;
|
||||
|
||||
ixgbevf = callPackage ../os-specific/linux/ixgbevf {};
|
||||
|
||||
it87 = callPackage ../os-specific/linux/it87 {};
|
||||
|
Loading…
Reference in New Issue
Block a user