blob: 0c04fbd21f318bde10185504a442ada21f1c2d63 (
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
|
{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "forkstat";
version = "0.04.00";
src = fetchFromGitHub {
owner = "ColinIanKing";
repo = "forkstat";
rev = "V${finalAttrs.version}";
hash = "sha256-HHyGjhu8yaBvDncloW8ST2L4iUU2ik2ydW1z9pFhfrw=";
};
installFlags = [
"BINDIR=${placeholder "out"}/bin"
"MANDIR=${placeholder "out"}/share/man/man8"
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
];
meta = {
description = "Process fork/exec/exit monitoring tool";
mainProgram = "forkstat";
homepage = "https://github.com/ColinIanKing/forkstat";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ womfoo ];
};
})
|