nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 794 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 ncurses, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "eventstat"; 10 version = "0.06.00"; 11 12 src = fetchFromGitHub { 13 owner = "ColinIanKing"; 14 repo = "eventstat"; 15 rev = "V${finalAttrs.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 = { 27 description = "Simple monitoring of system events"; 28 mainProgram = "eventstat"; 29 homepage = "https://github.com/ColinIanKing/eventstat"; 30 license = lib.licenses.gpl2Plus; 31 platforms = lib.platforms.linux; 32 maintainers = [ ]; 33 }; 34})