diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-12-04 15:39:49 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-12-04 15:39:49 +0000 |
commit | c726012afe1dbd13da7ab15381e3de2867bc8af5 (patch) | |
tree | 123888653c98ee60761109c9b3c59f706695b064 /pkgs/tools/misc/relfs/cvs.2008.03.05.nix | |
parent | 064aae6461971ed76ff4ed5bc8e043840592c04a (diff) | |
download | nixlib-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar nixlib-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.gz nixlib-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.bz2 nixlib-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.lz nixlib-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.xz nixlib-c726012afe1dbd13da7ab15381e3de2867bc8af5.tar.zst nixlib-c726012afe1dbd13da7ab15381e3de2867bc8af5.zip |
* Refactoring: move most filesystem utilities / FUSE filesystems to
tools/filesystems. Previously they were all over the place. svn path=/nixpkgs/trunk/; revision=18809
Diffstat (limited to 'pkgs/tools/misc/relfs/cvs.2008.03.05.nix')
-rw-r--r-- | pkgs/tools/misc/relfs/cvs.2008.03.05.nix | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/pkgs/tools/misc/relfs/cvs.2008.03.05.nix b/pkgs/tools/misc/relfs/cvs.2008.03.05.nix deleted file mode 100644 index 178aa700fa5e..000000000000 --- a/pkgs/tools/misc/relfs/cvs.2008.03.05.nix +++ /dev/null @@ -1,55 +0,0 @@ - -args : with args; - let localDefs = builderDefs.passthru.function { - src = /* put a fetchurl here */ - if args ? src then args.src else fetchcvs { - cvsRoot = ":pserver:anonymous@relfs.cvs.sourceforge.net:/cvsroot/relfs"; - module = "relfs"; - date = "2008-03-05"; - sha256 = "949f8eff7e74ff2666cccf8a1efbfcce8d54bc41bec6ad6db8c029de7ca832a3"; - }; - - buildInputs = [ocaml fuse postgresql pcre - libuuid gnomevfs pkgconfig GConf]; - configureFlags = []; - build = builderDefs.stringsWithDeps.fullDepEntry (" - cd deps - sed -e 's/^CPP/#&/ ; s/^# CPP=gcc/CPP=gcc/' -i Makefile.camlidl - make - cd ../src - sed -e 's/NULL\\|FALSE/0/g' -i Mimetype_lib.c - sed -e 's@/usr/local/@'\$out/'@' -i Makefile - sed -e '/install:/a\\\tmkdir -p '\$out'/share' -i Makefile - make - mkdir -p \$out/bin - echo ' - createuser -A -D \$1 - dropdb relfs_\$1 ; - rm -rf /tmp/relfs-\$1-tmp; - mkdir /tmp/relfs-\$1-tmp; - USER=\$1 relfs -f -s /tmp/relfs-\$1-tmp & - sleep 1 && - kill -15 \${!}; - rm -rf /tmp/relfs-\$1-tmp ; - psql -d relfs_\$1 <<< \"ALTER DATABASE relfs_\$1 OWNER TO \$1; - ALTER TABLE obj OWNER TO \$1; - ALTER TABLE obj_mimetype OWNER TO \$1; - ALTER TABLE membership OWNER TO \$1;\"' > \$out/bin/relfs_grant; - chmod a+x \$out/bin/relfs_grant; - ") ["minInit" "doUnpack" "addInputs"]; - }; - in with localDefs; - -assert args.libuuid != null; - -stdenv.mkDerivation rec { - name = "relfs-2008.03.05"; - builder = writeScript (name + "-builder") - (textClosure localDefs ["build" "doMakeInstall" "doForceShare" "doPropagate"]); - meta = { - description = "A relational filesystem on top of FUSE"; - inherit src; - maintainers = [args.stdenv.lib.maintainers.raskin]; - platforms = args.stdenv.lib.platforms.linux; - }; -} |