linuxPackages*.turbostat: init
commitbd65f5e4dbf0551212a2121946f3b0db3cfe1b18
authorWill Dietz <w@wdtz.org>
dateSat 14 Sep 2019, 22:47 (7 years ago)
parent046ea6d
pkgs/os-specific/linux/turbostat/default.nixnew file+20
@@ -0,0 +1,20 @@
1+{ stdenv, kernel }:
2+
3+stdenv.mkDerivation {
4+ pname = "turbostat";
5+ inherit (kernel) src version;
6+
7+ makeFlags = [ "PREFIX=${placeholder "out"}" ];
8+
9+ postPatch = ''
10+ cd tools/power/x86/turbostat
11+ '';
12+
13+ meta = with stdenv.lib; {
14+ description = "Report processor frequency and idle statistics";
15+ homepage = https://www.kernel.org/;
16+ license = licenses.gpl2;
17+ platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific
18+ };
19+}
20+
pkgs/top-level/all-packages.nix+2
@@ -15876,6 +15876,8 @@ in
1587615876
1587715877 tp_smapi = callPackage ../os-specific/linux/tp_smapi { };
1587815878
15879+ turbostat = callPackage ../os-specific/linux/turbostat { };
15880+
1587915881 usbip = callPackage ../os-specific/linux/usbip { };
1588015882
1588115883 v86d = callPackage ../os-specific/linux/v86d { };