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

24 lines
603 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "tmux-mem-cpu-load";
2021-08-14 16:17:51 +02:00
version = "3.5.1";
src = fetchFromGitHub {
owner = "thewtex";
repo = "tmux-mem-cpu-load";
rev = "v${version}";
2021-08-14 16:17:51 +02:00
sha256 = "sha256-4ZMF+RacZL9dJRCz63XPNuigTKHOW+ZcA4vB4jsnASc=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "CPU, RAM, and load monitor for use with tmux";
2021-08-14 16:17:51 +02:00
homepage = "https://github.com/thewtex/tmux-mem-cpu-load";
license = licenses.asl20;
maintainers = with maintainers; [ thomasjm ];
platforms = platforms.all;
};
}