diff options
author | Leah Neukirchen <leah@vuxu.org> | 2019-05-03 10:07:52 +0200 |
---|---|---|
committer | Lassulus <github@lassul.us> | 2019-05-03 18:19:57 +0900 |
commit | 23336fb44a4704c688c0b2d546720838d2e73d8f (patch) | |
tree | 3d8cfe05557cde724a2734661b2159636b284877 /pkgs/os-specific/linux/extrace | |
parent | 24b1f7b1458233ff2172431381931d46d067bf3a (diff) |
extrace: init at 0.7
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 0000000000000..28a92d31eaa27 --- /dev/null +++ b/pkgs/os-specific/linux/extrace/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "extrace-${version}"; + 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 stdenv.lib; { + homepage = https://github.com/leahneukirchen/extrace; + description = "Trace exec() calls system-wide"; + license = with licenses; [ gpl2 bsd2 ]; + platforms = platforms.linux; + maintainers = [ maintainers.leahneukirchen ]; + }; +} |