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