2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "extrace";
|
2021-08-06 21:57:35 +00:00
|
|
|
version = "0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leahneukirchen";
|
|
|
|
repo = "extrace";
|
|
|
|
rev = "v${version}";
|
2021-08-06 21:57:35 +00:00
|
|
|
sha256 = "sha256-Kg5yzVg9sqlOCzAq/HeFUPZ89Enfkt/r7EunCfOqdA0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -dm755 "$out/share/licenses/extrace/"
|
|
|
|
install -m644 LICENSE "$out/share/licenses/extrace/LICENSE"
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/leahneukirchen/extrace";
|
|
|
|
description = "Trace exec() calls system-wide";
|
|
|
|
license = with licenses; [ gpl2 bsd2 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.leahneukirchen ];
|
|
|
|
};
|
|
|
|
}
|