linuxPackages*.turbostat: init

This commit is contained in:
Will Dietz 2019-09-14 22:47:35 -05:00
parent 046ea6d08f
commit bd65f5e4db
No known key found for this signature in database
GPG key ID: EBB0EA4124809D02
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ stdenv, kernel }:
stdenv.mkDerivation {
pname = "turbostat";
inherit (kernel) src version;
makeFlags = [ "PREFIX=${placeholder "out"}" ];
postPatch = ''
cd tools/power/x86/turbostat
'';
meta = with stdenv.lib; {
description = "Report processor frequency and idle statistics";
homepage = https://www.kernel.org/;
license = licenses.gpl2;
platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific
};
}

View file

@ -15876,6 +15876,8 @@ in
tp_smapi = callPackage ../os-specific/linux/tp_smapi { };
turbostat = callPackage ../os-specific/linux/turbostat { };
usbip = callPackage ../os-specific/linux/usbip { };
v86d = callPackage ../os-specific/linux/v86d { };