2021-01-11 07:54:33 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2019-05-03 08:07:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "extrace";
|
2022-02-11 21:48:37 +00:00
|
|
|
version = "0.9";
|
2019-05-03 08:07:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leahneukirchen";
|
|
|
|
repo = "extrace";
|
|
|
|
rev = "v${version}";
|
2022-02-11 21:48:37 +00:00
|
|
|
hash = "sha256-Jy/Ac3NcqBkW0kHyypMAVUGAQ41qWM96BbLAym06ogM=";
|
2019-05-03 08:07:52 +00:00
|
|
|
};
|
|
|
|
|
2022-02-11 21:48:37 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
2019-05-03 08:07:52 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -dm755 "$out/share/licenses/extrace/"
|
|
|
|
install -m644 LICENSE "$out/share/licenses/extrace/LICENSE"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/leahneukirchen/extrace";
|
2019-05-03 08:07:52 +00:00
|
|
|
description = "Trace exec() calls system-wide";
|
2022-02-11 21:48:37 +00:00
|
|
|
license = with licenses; [
|
|
|
|
gpl2Plus
|
|
|
|
bsd2
|
|
|
|
];
|
2019-05-03 08:07:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.leahneukirchen ];
|
|
|
|
};
|
|
|
|
}
|