3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #35093 from lopsided98/tmon-init

tmon: init
This commit is contained in:
Matthew Justin Bauer 2018-03-22 11:08:56 -05:00 committed by GitHub
commit 2a454d7b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, kernel, ncurses }:
stdenv.mkDerivation {
name = "tmon-${kernel.version}";
inherit (kernel) src;
buildInputs = [ ncurses ];
configurePhase = ''
cd tools/thermal/tmon
'';
makeFlags = kernel.makeFlags ++ [ "INSTALL_ROOT=\"$(out)\"" "BINDIR=bin" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Monitoring and Testing Tool for Linux kernel thermal subsystem";
homepage = https://www.kernel.org/;
license = licenses.gpl2;
platforms = platforms.linux;
};
}

View file

@ -13463,6 +13463,8 @@ with pkgs;
systemtap = callPackage ../development/tools/profiling/systemtap { };
tmon = callPackage ../os-specific/linux/tmon { };
tp_smapi = callPackage ../os-specific/linux/tp_smapi { };
usbip = callPackage ../os-specific/linux/usbip { };