anchor.diff:  
         origSrc=$src
         src=$(findTarball $src)
  -    ''; 
  +    '';
     }
   )
  
positive.code:       '';
    }
  
    // removeAttrs args ["antProperties" "buildInputs" "pkgs" "jarWrappers"] // 
  
    {
      name = name + (if src ? version then "-" + src.version else "");
    
      buildInputs = [ant jre zip unzip] ++ stdenv.lib.optional (args ? buildInputs) args.buildInputs ;
  
      postHook = ''
  
negative.code:         canonicalizeJar $j
          echo file jar $j >> $out/nix-support/hydra-build-products
        done
  
        runHook postInstall
      '';
  
      generateWrappersPhase =
        let
          cp = w: "-cp '${lib.optionalString (w ? classPath) w.classPath}${lib.optionalString (w ? mainClass) ":$out/share/java/*"}'";
        in
        ''
        header "Generating jar wrappers"
      '' + (stdenv.lib.concatMapStrings (w: ''
  
  