about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2018-03-29 21:22:16 -0500
committerAustin Seipp <aseipp@pobox.com>2018-04-01 15:18:47 -0500
commitdc40fca23ff77bcbf525543975907511c76fb307 (patch)
treea5715b21cde87abc4ee0afaf5618feff995a8987 /pkgs
parentebbf7078e2434ca1cfc44ace99474f52cbc64660 (diff)
downloadnixlib-dc40fca23ff77bcbf525543975907511c76fb307.tar
nixlib-dc40fca23ff77bcbf525543975907511c76fb307.tar.gz
nixlib-dc40fca23ff77bcbf525543975907511c76fb307.tar.bz2
nixlib-dc40fca23ff77bcbf525543975907511c76fb307.tar.lz
nixlib-dc40fca23ff77bcbf525543975907511c76fb307.tar.xz
nixlib-dc40fca23ff77bcbf525543975907511c76fb307.tar.zst
nixlib-dc40fca23ff77bcbf525543975907511c76fb307.zip
nixpkgs: remove ancient 'ecj' package
Nobody has stepped up to keep maintaining this and it's several
years old, and the last strict Java 7 dependency, as it won't work
with newer versions without an update.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/eclipse/ecj/default.nix59
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 0 insertions, 61 deletions
diff --git a/pkgs/development/eclipse/ecj/default.nix b/pkgs/development/eclipse/ecj/default.nix
deleted file mode 100644
index b6bee8aead02..000000000000
--- a/pkgs/development/eclipse/ecj/default.nix
+++ /dev/null
@@ -1,59 +0,0 @@
-{ stdenv, fetchurl, unzip, ant, jdk7, makeWrapper }:
-
-let
-  version = "3.7.2";
-  date    = "201202080800";
-in
-
-stdenv.mkDerivation rec {
-  name = "ecj-${version}";
-
-  src = fetchurl {
-    url = "http://eclipse.ialto.org/eclipse/downloads/drops/R-${version}-${date}/ecjsrc-${version}.jar";
-    sha256 = "0swyysbyfmv068x8q1c5jqpwk5zb4xahg17aypx5rwb660f8fpbm";
-  };
-
-  buildInputs = [ unzip ant jdk7 makeWrapper ];
-
-  unpackPhase = ''
-    mkdir "${name}"
-    cd "${name}"
-    unzip "$src"
-  '';
-
-  # Use whatever compiler Ant knows.
-  buildPhase = "ant build";
-
-  installPhase = ''
-    mkdir -pv $out/share/java
-    cp -v *.jar $out/share/java
-
-    mkdir -pv $out/bin
-    makeWrapper ${jdk7.jre}/bin/java $out/bin/ecj \
-      --add-flags "-cp $out/share/java/ecj.jar org.eclipse.jdt.internal.compiler.batch.Main"
-
-    # Add a setup hook that causes Ant to use the ECJ.
-    mkdir -p $out/nix-support
-    cat <<EOF > $out/nix-support/setup-hook
-    export NIX_ANT_ARGS="-Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter \$NIX_ANT_ARGS"
-    EOF
-  '';
-
-  meta = {
-    description = "The Eclipse Compiler for Java (ECJ)";
-
-    longDescription = ''
-      ECJ is an incremental Java compiler.  Implemented as an Eclipse
-      builder, it is based on technology evolved from VisualAge for Java
-      compiler.  In particular, it allows users to run and debug code which
-      still contains unresolved errors.
-    '';
-
-    homepage = http://www.eclipse.org/jdt/core/index.php;
-
-    # http://www.eclipse.org/legal/epl-v10.html (free software, copyleft)
-    license = stdenv.lib.licenses.epl10;
-
-    platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
-  };
-}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 0603603f825b..6f3cc15b52d4 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7332,8 +7332,6 @@ with pkgs;
 
   sourceFromHead = callPackage ../build-support/source-from-head-fun.nix {};
 
-  ecj = callPackage ../development/eclipse/ecj { };
-
   jruby = callPackage ../development/interpreters/jruby { };
 
   jython = callPackage ../development/interpreters/jython {};