2021-12-20 15:04:22 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub }:
|
2016-07-14 16:49:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "forkstat";
|
2024-01-12 22:07:09 +00:00
|
|
|
version = "0.03.02";
|
2021-12-20 15:04:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ColinIanKing";
|
|
|
|
repo = pname;
|
|
|
|
rev = "V${version}";
|
2024-01-12 22:07:09 +00:00
|
|
|
hash = "sha256-lwJIs5knNzkwgIkSdMSVVtrzqnxGy6uOTKsBDkS3xy4=";
|
2016-07-14 16:49:35 +00:00
|
|
|
};
|
2021-12-20 15:04:22 +00:00
|
|
|
|
|
|
|
installFlags = [
|
|
|
|
"BINDIR=${placeholder "out"}/bin"
|
|
|
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
|
|
|
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
|
|
|
|
];
|
|
|
|
|
2016-07-14 16:49:35 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Process fork/exec/exit monitoring tool";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "forkstat";
|
2021-12-20 15:04:22 +00:00
|
|
|
homepage = "https://github.com/ColinIanKing/forkstat";
|
2024-05-26 12:16:07 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2016-07-14 16:49:35 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ womfoo ];
|
|
|
|
};
|
|
|
|
}
|