linuxPackages*.turbostat: init
This commit is contained in:
parent
046ea6d08f
commit
bd65f5e4db
2 changed files with 22 additions and 0 deletions
20
pkgs/os-specific/linux/turbostat/default.nix
Normal file
20
pkgs/os-specific/linux/turbostat/default.nix
Normal 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
|
||||
};
|
||||
}
|
||||
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue