2018-03-16 13:59:45 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "fsatrace";
|
2018-03-16 13:59:45 +01:00
|
|
|
version = "0.0.1-160";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jacereda";
|
|
|
|
repo = "fsatrace";
|
|
|
|
rev = "2bf89d836e0156e68f121b0ffeedade7c9381f77";
|
|
|
|
sha256 = "0bndfmm0y738azwzf6m6xg6gjnrwcqlfjsampk67vga40yylwkbw";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
2019-08-15 14:41:18 +02:00
|
|
|
mkdir -p $out/libexec/${pname}-${version}
|
|
|
|
export makeFlags=INSTALLDIR=$out/libexec/${pname}-${version}
|
2018-03-16 13:59:45 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/bin
|
2019-08-15 14:41:18 +02:00
|
|
|
ln -s $out/libexec/${pname}-${version}/fsatrace $out/bin/
|
2018-03-16 13:59:45 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/jacereda/fsatrace;
|
|
|
|
description = "filesystem access tracer";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.peti ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|