nixpkgs/pkgs/by-name/ex/extrace/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
761 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
}:
2019-05-03 08:07:52 +00:00
stdenv.mkDerivation rec {
pname = "extrace";
version = "0.9";
2019-05-03 08:07:52 +00:00
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = "extrace";
rev = "v${version}";
hash = "sha256-Jy/Ac3NcqBkW0kHyypMAVUGAQ41qWM96BbLAym06ogM=";
2019-05-03 08:07:52 +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"
'';
meta = with lib; {
homepage = "https://github.com/leahneukirchen/extrace";
2019-05-03 08:07:52 +00:00
description = "Trace exec() calls system-wide";
license = with licenses; [
gpl2Plus
bsd2
];
2019-05-03 08:07:52 +00:00
platforms = platforms.linux;
maintainers = [ maintainers.leahneukirchen ];
};
}