2021-01-15 09:19:50 +00:00
|
|
|
{lib, stdenv, fetchurl, openssl, fuse}:
|
2011-03-31 21:08:50 +00:00
|
|
|
|
|
|
|
throw "It still does not build"
|
|
|
|
|
2021-08-12 18:49:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fsfs";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
2011-03-31 21:08:50 +00:00
|
|
|
src = fetchurl {
|
2021-08-12 18:49:29 +00:00
|
|
|
url = "mirror://sourceforge/fsfs/fsfs-${version}.tar.gz";
|
2011-03-31 21:08:50 +00:00
|
|
|
sha256 = "05wka9aq182li2r7gxcd8bb3rhpns7ads0k59v7w1jza60l57c74";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fuse openssl ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's,CONFDIR=\(.*\),CONFDIR='$out/etc, \
|
|
|
|
-e 's,USERCONFPREFIX=\(.*\),USERCONFPREFIX='$out/var/lib, Makefile \
|
|
|
|
src/Makefile src/utils/Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/etc $out/var/lib
|
2011-03-31 21:08:50 +00:00
|
|
|
makeFlags="$makeFlags prefix=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://fsfs.sourceforge.net/";
|
2011-03-31 21:08:50 +00:00
|
|
|
description = "Secure distributed file system in user space";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2011-03-31 21:08:50 +00:00
|
|
|
};
|
|
|
|
}
|