diff options
Diffstat (limited to 'pkgs/os-specific/linux/extrace')
-rw-r--r-- | pkgs/os-specific/linux/extrace/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/extrace/default.nix b/pkgs/os-specific/linux/extrace/default.nix new file mode 100644 index 00000000000..e4afe6f8503 --- /dev/null +++ b/pkgs/os-specific/linux/extrace/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "extrace"; + version = "0.9"; + + src = fetchFromGitHub { + owner = "leahneukirchen"; + repo = "extrace"; + rev = "v${version}"; + hash = "sha256-Jy/Ac3NcqBkW0kHyypMAVUGAQ41qWM96BbLAym06ogM="; + }; + + makeFlags = [ "PREFIX=${placeholder "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; [ gpl2Plus bsd2 ]; + platforms = platforms.linux; + maintainers = [ maintainers.leahneukirchen ]; + }; +} |