1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

GCJ 4.4: Provide `ecj.jar' (Eclipse Java Compiler).

svn path=/nixpkgs/trunk/; revision=16416
This commit is contained in:
Ludovic Courtès 2009-07-17 17:20:07 +00:00
parent deb63071d7
commit 1dfef78633

View file

@ -45,8 +45,18 @@ stdenv.mkDerivation ({
optional langJava (fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-java-${version}.tar.bz2";
sha256 = "0i60llrllgm4sbplw2rc9b0gi0mxr88la07a72mvlbblzpxn22hb";
}) ++
optional langJava (fetchurl {
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
# `configure' time.
# XXX: Eventually we might want to take it from upstream.
url = "ftp://sourceware.org/pub/java/ecj-4.3.jar";
name = "ecj.jar";
sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx";
});
patches =
[./pass-cxxcpp.patch]
++ optional noSysDirs ./no-sys-dirs.patch