Merge pull request #68902 from dtzWill/feature/turbostat

linuxPackages*.turbostat: init
This commit is contained in:
Will Dietz 2019-10-07 18:20:27 -05:00 committed by GitHub
commit b01407602c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -16022,6 +16022,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 { };