mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-02 21:54:45 +00:00
35 lines
794 B
Nix
35 lines
794 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
ncurses,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "eventstat";
|
|
version = "0.06.00";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ColinIanKing";
|
|
repo = "eventstat";
|
|
rev = "V${finalAttrs.version}";
|
|
hash = "sha256-lCtXILpZn1/laRnsfE5DlQQQKKvfHxOJu87SkpWKeTE=";
|
|
};
|
|
|
|
buildInputs = [ ncurses ];
|
|
installFlags = [
|
|
"BINDIR=${placeholder "out"}/bin"
|
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
|
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
|
|
];
|
|
|
|
meta = {
|
|
description = "Simple monitoring of system events";
|
|
mainProgram = "eventstat";
|
|
homepage = "https://github.com/ColinIanKing/eventstat";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ ];
|
|
};
|
|
})
|