about summary refs log tree commit diff
path: root/pkgs/development/tools/misc
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-03-17 09:58:02 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-03-17 09:58:02 +0200
commit07e2f2977209355717a17944c3a69b6e703eb293 (patch)
tree1c2787b7730afbdd9494ddfe511823342a33c759 /pkgs/development/tools/misc
parent017d678a00e28020bdb4fb036f29a14d773c29ca (diff)
parent548607d830490a5f48e85b28f57902acbb94a3b1 (diff)
downloadnixlib-07e2f2977209355717a17944c3a69b6e703eb293.tar
nixlib-07e2f2977209355717a17944c3a69b6e703eb293.tar.gz
nixlib-07e2f2977209355717a17944c3a69b6e703eb293.tar.bz2
nixlib-07e2f2977209355717a17944c3a69b6e703eb293.tar.lz
nixlib-07e2f2977209355717a17944c3a69b6e703eb293.tar.xz
nixlib-07e2f2977209355717a17944c3a69b6e703eb293.tar.zst
nixlib-07e2f2977209355717a17944c3a69b6e703eb293.zip
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r--pkgs/development/tools/misc/fsatrace/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/fsatrace/default.nix b/pkgs/development/tools/misc/fsatrace/default.nix
new file mode 100644
index 000000000000..e84aa0ef555a
--- /dev/null
+++ b/pkgs/development/tools/misc/fsatrace/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "fsatrace-${version}";
+  version = "0.0.1-160";
+
+  src = fetchFromGitHub {
+    owner = "jacereda";
+    repo = "fsatrace";
+    rev = "2bf89d836e0156e68f121b0ffeedade7c9381f77";
+    sha256 = "0bndfmm0y738azwzf6m6xg6gjnrwcqlfjsampk67vga40yylwkbw";
+  };
+
+  preConfigure = ''
+    mkdir -p $out/libexec/${name}
+    export makeFlags=INSTALLDIR=$out/libexec/${name}
+  '';
+
+  postInstall = ''
+    mkdir -p $out/bin
+    ln -s $out/libexec/${name}/fsatrace $out/bin/
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/jacereda/fsatrace;
+    description = "filesystem access tracer";
+    license = licenses.isc;
+    maintainers = [ maintainers.peti ];
+    platforms = platforms.linux;
+  };
+}