3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/extrace/default.nix

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

29 lines
738 B
Nix
Raw Normal View History

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