2021-12-21 02:18:32 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, ncurses }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "eventstat";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.05.01";
|
2021-12-21 02:18:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ColinIanKing";
|
|
|
|
repo = pname;
|
|
|
|
rev = "V${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-raODDA1EKtZThFg0NV6EfrWj5mSQNaiekywfOfAvYXI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-12-21 02:18:32 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ ncurses ];
|
2021-12-21 02:18:32 +00:00
|
|
|
installFlags = [
|
|
|
|
"BINDIR=${placeholder "out"}/bin"
|
|
|
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
|
|
|
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple monitoring of system events";
|
2021-12-21 02:18:32 +00:00
|
|
|
homepage = "https://github.com/ColinIanKing/eventstat";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|