2019-09-15 04:44:55 +01:00
|
|
|
{ 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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.kernel.org/";
|
2019-09-15 04:44:55 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific
|
|
|
|
};
|
|
|
|
}
|