2021-12-21 02:18:32 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "forkstat";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "0.03.02";
|
2021-12-21 02:18:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ColinIanKing";
|
|
|
|
repo = pname;
|
|
|
|
rev = "V${version}";
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-lwJIs5knNzkwgIkSdMSVVtrzqnxGy6uOTKsBDkS3xy4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
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 = "Process fork/exec/exit monitoring tool";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "forkstat";
|
2021-12-21 02:18:32 +00:00
|
|
|
homepage = "https://github.com/ColinIanKing/forkstat";
|
2024-06-24 18:47:55 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ womfoo ];
|
|
|
|
};
|
|
|
|
}
|