summary refs log tree commit diff
path: root/pkgs/os-specific/linux/extrace
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-05-03 10:07:52 +0200
committerLassulus <github@lassul.us>2019-05-03 18:19:57 +0900
commit23336fb44a4704c688c0b2d546720838d2e73d8f (patch)
tree3d8cfe05557cde724a2734661b2159636b284877 /pkgs/os-specific/linux/extrace
parent24b1f7b1458233ff2172431381931d46d067bf3a (diff)
downloadnixpkgs-23336fb44a4704c688c0b2d546720838d2e73d8f.tar
nixpkgs-23336fb44a4704c688c0b2d546720838d2e73d8f.tar.gz
nixpkgs-23336fb44a4704c688c0b2d546720838d2e73d8f.tar.bz2
nixpkgs-23336fb44a4704c688c0b2d546720838d2e73d8f.tar.lz
nixpkgs-23336fb44a4704c688c0b2d546720838d2e73d8f.tar.xz
nixpkgs-23336fb44a4704c688c0b2d546720838d2e73d8f.tar.zst
nixpkgs-23336fb44a4704c688c0b2d546720838d2e73d8f.zip
extrace: init at 0.7
Diffstat (limited to 'pkgs/os-specific/linux/extrace')
-rw-r--r--pkgs/os-specific/linux/extrace/default.nix28
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..28a92d31eaa
--- /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 ];
+  };
+}