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