{ fetchsvn, stdenv, emacs, cedet, ant }: let revision = "137"; in stdenv.mkDerivation rec { name = "jdee-svn${revision}"; # Last release is too old, so use SVN. # See http://www.emacswiki.org/emacs/JavaDevelopmentEnvironment . src = fetchsvn { url = "https://jdee.svn.sourceforge.net/svnroot/jdee/trunk/jdee"; rev = revision; sha256 = "1qj5cv74dp6nf6060jyvnlcbmc4sz8a09806gwa1zfiwz6mm9zrs"; }; patchFlags = "-p1 --ignore-whitespace"; patches = [ ./build-properties.patch ./cedet-paths.patch ./elib-avltree.patch ./java-directory.patch ]; configurePhase = '' mkdir -p "dist" cat > build.properties <