nixpkgs/pkgs/tools/misc/tmux-mem-cpu-load/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
642 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "tmux-mem-cpu-load";
2023-05-21 07:23:27 +00:00
version = "3.8.0";
src = fetchFromGitHub {
owner = "thewtex";
repo = "tmux-mem-cpu-load";
rev = "v${version}";
2023-05-21 07:23:27 +00:00
sha256 = "sha256-dRHV2XF3NFzd4HT9SbRnEn8U40QTnAUJDsM51NA9fEk=";
};
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";
license = licenses.asl20;
maintainers = with maintainers; [ thomasjm ];
platforms = platforms.all;
2023-11-27 01:17:53 +00:00
mainProgram = "tmux-mem-cpu-load";
};
}