2021-02-02 21:39:14 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tmux-mem-cpu-load";
|
2022-03-04 19:38:22 +00:00
|
|
|
version = "3.6.0";
|
2021-02-02 21:39:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thewtex";
|
|
|
|
repo = "tmux-mem-cpu-load";
|
|
|
|
rev = "v${version}";
|
2022-03-04 19:38:22 +00:00
|
|
|
sha256 = "sha256-1smhlp30y0qihm+d9RcCKY1CFbPm5gzago+OIQQT5jE=";
|
2021-02-02 21:39:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CPU, RAM, and load monitor for use with tmux";
|
2021-08-14 14:17:51 +00:00
|
|
|
homepage = "https://github.com/thewtex/tmux-mem-cpu-load";
|
2021-02-02 21:39:14 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ thomasjm ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|