Author: viric
Date: Thu Mar 31 21:08:50 2011
New Revision: 26631
URL: https://svn.nixos.org/websvn/nix/?rev=26631&sc=1
Log:
Adding a skeleton for a fsfs expression, but it still does not build.
Added:
nixpkgs/trunk/pkgs/tools/filesystems/fsfs/
nixpkgs/trunk/pkgs/tools/filesystems/fsfs/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/tools/filesystems/fsfs/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/tools/filesystems/fsfs/default.nix Thu Mar 31
21:08:50 2011 (r26631)
@@ -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+";
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Mar 31 17:04:05
2011 (r26630)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Mar 31 21:08:50
2011 (r26631)
@@ -649,6 +649,8 @@
fuppes = callPackage ../tools/networking/fuppes {};
+ fsfs = callPackage ../tools/filesystems/fsfs { };
+
dos2unix = callPackage ../tools/text/dos2unix { };
unix2dos = callPackage ../tools/text/unix2dos { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits