Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 34 lines 775 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 ncurses, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "eventstat"; 10 version = "0.06.00"; 11 12 src = fetchFromGitHub { 13 owner = "ColinIanKing"; 14 repo = "eventstat"; 15 rev = "V${version}"; 16 hash = "sha256-lCtXILpZn1/laRnsfE5DlQQQKKvfHxOJu87SkpWKeTE="; 17 }; 18 19 buildInputs = [ ncurses ]; 20 installFlags = [ 21 "BINDIR=${placeholder "out"}/bin" 22 "MANDIR=${placeholder "out"}/share/man/man8" 23 "BASHDIR=${placeholder "out"}/share/bash-completion/completions" 24 ]; 25 26 meta = with lib; { 27 description = "Simple monitoring of system events"; 28 mainProgram = "eventstat"; 29 homepage = "https://github.com/ColinIanKing/eventstat"; 30 license = licenses.gpl2Plus; 31 platforms = platforms.linux; 32 maintainers = [ ]; 33 }; 34}