tmon: init
This commit is contained in:
parent
5be93a5883
commit
687ecce998
2 changed files with 26 additions and 0 deletions
24
pkgs/os-specific/linux/tmon/default.nix
Normal file
24
pkgs/os-specific/linux/tmon/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -13202,6 +13202,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 { };
|
||||
|
|
Loading…
Reference in a new issue