2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, kernel }:
|
2019-09-15 05:44:55 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-09-15 05:44:55 +02:00
|
|
|
description = "Tool to enumerate and control the Intel Speed Select Technology features";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.kernel.org/";
|
2019-09-15 05:44:55 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific
|
2022-05-23 14:02:01 +02:00
|
|
|
broken = kernel.kernelAtLeast "5.18";
|
2019-09-15 05:44:55 +02:00
|
|
|
};
|
|
|
|
}
|