depot/third_party/nixpkgs/pkgs/os-specific/linux/extrace/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

28 lines
723 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "extrace";
version = "0.7";
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = "extrace";
rev = "v${version}";
sha256 = "0acspj3djspfvgr3ng5b61qws6v2md6b0lc5qkby10mqnfpkvq85";
};
makeFlags = [ "PREFIX=$(out)" ];
postInstall = ''
install -dm755 "$out/share/licenses/extrace/"
install -m644 LICENSE "$out/share/licenses/extrace/LICENSE"
'';
meta = with lib; {
homepage = "https://github.com/leahneukirchen/extrace";
description = "Trace exec() calls system-wide";
license = with licenses; [ gpl2 bsd2 ];
platforms = platforms.linux;
maintainers = [ maintainers.leahneukirchen ];
};
}