about summary refs log tree commit diff
path: root/pkgs/tools/misc/tmux-mem-cpu-load
diff options
context:
space:
mode:
authorTom McLaughlin <tom@codedown.io>2021-02-02 13:39:14 -0800
committerGitHub <noreply@github.com>2021-02-02 22:39:14 +0100
commit1d4dec402135e0c5ccbf79d1f1dafc511766c4b4 (patch)
treeb04e3085efa7ffea32241ea9251900436bca12af /pkgs/tools/misc/tmux-mem-cpu-load
parent8ac9443503fdc7bbabcf61371618718291c06ba3 (diff)
tmux-mem-cpu-load: init at 3.4.0 (#111609)
Diffstat (limited to 'pkgs/tools/misc/tmux-mem-cpu-load')
-rw-r--r--pkgs/tools/misc/tmux-mem-cpu-load/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/misc/tmux-mem-cpu-load/default.nix b/pkgs/tools/misc/tmux-mem-cpu-load/default.nix
new file mode 100644
index 0000000000000..2f9f436a14990
--- /dev/null
+++ b/pkgs/tools/misc/tmux-mem-cpu-load/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, lib, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+  pname = "tmux-mem-cpu-load";
+  version = "3.4.0";
+
+  src = fetchFromGitHub {
+    owner = "thewtex";
+    repo = "tmux-mem-cpu-load";
+    rev = "v${version}";
+    sha256 = "1ybj513l4953jhayrzb47dlh4yv9bkvs0q1lfvky17v9fdkxgn2j";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = with lib; {
+    description = "CPU, RAM, and load monitor for use with tmux";
+    homepage = https://github.com/thewtex/tmux-mem-cpu-load;
+    license = licenses.asl20;
+    maintainers = with maintainers; [ thomasjm ];
+    platforms = platforms.all;
+  };
+}