Adding a skeleton for a fsfs expression, but it still does not build.

svn path=/nixpkgs/trunk/; revision=26631
This commit is contained in:
Lluís Batlle i Rossell 2011-03-31 21:08:50 +00:00
parent 6aa761ab3b
commit f00bdb6f15
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{stdenv, fetchurl, openssl, fuse}:
throw "It still does not build"
stdenv.mkDerivation {
name = "fsfs-0.1.1";
src = fetchurl {
url = mirror://sourceforge/fsfs/fsfs-0.1.1.tar.gz;
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 = ''
ensureDir $out/etc $out/var/lib
makeFlags="$makeFlags prefix=$out"
'';
meta = {
homepage = http://fsfs.sourceforge.net/;
description = "Secure distributed file system in user space";
license = "GPLv2+";
};
}

View File

@ -649,6 +649,8 @@ let
fuppes = callPackage ../tools/networking/fuppes {};
fsfs = callPackage ../tools/filesystems/fsfs { };
dos2unix = callPackage ../tools/text/dos2unix { };
unix2dos = callPackage ../tools/text/unix2dos { };