blob: 5cd57e92f7051900746db2c47db21152c7ce490f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
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 = [ ];
};
})
|