diff options
author | Austin Seipp <aseipp@pobox.com> | 2018-03-29 21:21:06 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2018-04-01 15:18:47 -0500 |
commit | ebbf7078e2434ca1cfc44ace99474f52cbc64660 (patch) | |
tree | aaa4e0ff884f8ffb3872cf7daceedceb22c92f7d /pkgs/development/libraries/java/classpath/default.nix | |
parent | f71b066d60918be31164707613e6f4ad62c8af0f (diff) | |
download | nixlib-ebbf7078e2434ca1cfc44ace99474f52cbc64660.tar nixlib-ebbf7078e2434ca1cfc44ace99474f52cbc64660.tar.gz nixlib-ebbf7078e2434ca1cfc44ace99474f52cbc64660.tar.bz2 nixlib-ebbf7078e2434ca1cfc44ace99474f52cbc64660.tar.lz nixlib-ebbf7078e2434ca1cfc44ace99474f52cbc64660.tar.xz nixlib-ebbf7078e2434ca1cfc44ace99474f52cbc64660.tar.zst nixlib-ebbf7078e2434ca1cfc44ace99474f52cbc64660.zip |
nixpkgs: remove ancient 'classpath' package
This is the only package that still needs ECJ and has no dependencies. It's ancient and unmaintained and should just be removed. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/development/libraries/java/classpath/default.nix')
-rw-r--r-- | pkgs/development/libraries/java/classpath/default.nix | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/pkgs/development/libraries/java/classpath/default.nix b/pkgs/development/libraries/java/classpath/default.nix deleted file mode 100644 index 82e02d06906b..000000000000 --- a/pkgs/development/libraries/java/classpath/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ fetchurl, stdenv, javac, jvm, antlr, pkgconfig, gtk2, gconf, ecj }: - -stdenv.mkDerivation rec { - name = "classpath-0.99"; - - src = fetchurl { - url = "mirror://gnu/classpath/${name}.tar.gz"; - sha256 = "1j7cby4k66f1nvckm48xcmh352b1d1b33qk7l6hi7dp9i9zjjagr"; - }; - - patches = [ ./missing-casts.patch ]; - - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ javac jvm antlr gtk2 gconf ecj ]; - - configurePhase = '' - # GCJ tries to compile all of Classpath during the `configure' run when - # trying to build in the source tree (see - # http://www.mail-archive.com/classpath@gnu.org/msg15079.html), thus we - # build out-of-tree. - mkdir ../build - cd ../build - echo "building in \`$PWD'" - - ../${name}/configure --prefix="$out" \ - --enable-fast-install --disable-dependency-tracking \ - ${configureFlags} - ''; - - /* Plug-in support requires Xulrunner and all that. Maybe someday, - optionally. - - Compilation with `-Werror' is disabled because of this: - - native/jni/native-lib/cpnet.c: In function 'cpnet_addMembership': - native/jni/native-lib/cpnet.c:583: error: dereferencing type-punned pointer will break strict-aliasing rules - native/jni/native-lib/cpnet.c: In function 'cpnet_dropMembership': - native/jni/native-lib/cpnet.c:598: error: dereferencing type-punned pointer will break strict-aliasing rules - - */ - - configureFlags = "--disable-Werror --disable-plugin --with-antlr-jar=${antlr}/lib/antlr.jar"; - - meta = { - description = "Essential libraries for Java"; - - longDescription = '' - GNU Classpath, Essential Libraries for Java, is a GNU project to create - free core class libraries for use with virtual machines and compilers - for the Java programming language. - ''; - - homepage = http://www.gnu.org/software/classpath/; - - # The exception makes it similar to LGPLv2+ AFAICS. - license = stdenv.lib.licenses.gpl2ClasspathPlus; - - maintainers = [ ]; - platforms = stdenv.lib.platforms.linux; - }; -} |