depot/third_party/nixpkgs/pkgs/tools/misc/tmux-mem-cpu-load/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

24 lines
642 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "tmux-mem-cpu-load";
version = "3.8.1";
src = fetchFromGitHub {
owner = "thewtex";
repo = "tmux-mem-cpu-load";
rev = "v${version}";
sha256 = "sha256-8QUcEbgk3DSsWt9TRHHtDhQ7a1hkK8RZEX+0d3h/c0w=";
};
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;
mainProgram = "tmux-mem-cpu-load";
};
}