2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2019-05-03 09:07:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "extrace";
|
2022-02-11 21:48:37 +00:00
|
|
|
version = "0.9";
|
2019-05-03 09:07:52 +01: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 09:07:52 +01:00
|
|
|
};
|
|
|
|
|
2022-02-11 21:48:37 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
2019-05-03 09:07:52 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://github.com/leahneukirchen/extrace";
|
2019-05-03 09:07:52 +01:00
|
|
|
description = "Trace exec() calls system-wide";
|
2022-02-11 21:48:37 +00:00
|
|
|
license = with licenses; [ gpl2Plus bsd2 ];
|
2019-05-03 09:07:52 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.leahneukirchen ];
|
|
|
|
};
|
|
|
|
}
|