diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-03-31 21:08:50 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-03-31 21:08:50 +0000 |
commit | f00bdb6f150e2786bcb0186e95bf05b0d70ed44d (patch) | |
tree | 6c97212c5e9cfb3897f779ad0d1ecb5a2b647789 /pkgs/tools/filesystems/fsfs | |
parent | 6aa761ab3be407238b28adb181e9d0b75a974dc2 (diff) |
Adding a skeleton for a fsfs expression, but it still does not build.
svn path=/nixpkgs/trunk/; revision=26631
Diffstat (limited to 'pkgs/tools/filesystems/fsfs')
-rw-r--r-- | pkgs/tools/filesystems/fsfs/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/fsfs/default.nix b/pkgs/tools/filesystems/fsfs/default.nix new file mode 100644 index 0000000000000..622424c302fba --- /dev/null +++ b/pkgs/tools/filesystems/fsfs/default.nix @@ -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+"; + }; +} |