anchor.diff:      sed '/antcall.*-ext/d' -i build.xml
     '';
   
  -  buildInputs = [ apacheAntOpenJDK jre ];
  +  buildInputs = [ ant jdk ];
   
     buildPhase = "ant package-only";
   
  
positive.code:   };
  in
  stdenv.mkDerivation {
    name = "freenet-official-20130413-eccc9b3198";
  
    src = fetchurl {
      url = https://github.com/freenet/fred-official/tarball/eccc9b3198;
  
negative.code: 
      cat <<EOF > $out/bin/freenet
      #!${stdenv.shell}
      ${jdk.jre}/bin/java -cp $out/share/freenet/bcprov.jar:$out/share/freenet/freenet-ext.jar:$out/share/freenet/freenet.jar \\
        -Xmx1024M freenet.node.NodeStarter
      EOF
      chmod +x $out/bin/freenet
    '';
  
    meta = {
      description = "Decentralised and censorship-resistant network";
      homepage = https://freenetproject.org/;
      license = "GPLv2+";
  