8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
20 lines
524 B
Nix
20 lines
524 B
Nix
{ 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
|
|
};
|
|
}
|