Enabled my eclipse package again, since I want to have eclipse installed when typing nix-env -i. BTW. the eclipse plugins can be installed this way either

svn path=/nixpkgs/trunk/; revision=18074
This commit is contained in:
Sander van der Burg 2009-11-03 11:00:18 +00:00
parent 3cc62cefa8
commit 5ed64ae7c0
2 changed files with 11 additions and 10 deletions

View file

@ -7,16 +7,16 @@
assert stdenv ? glibc;
stdenv.mkDerivation rec {
name = "eclipse-3.4.2";
name = "eclipse-3.5.1";
src = if stdenv.system == "x86_64-linux" then
fetchurl {
url = http://ftp.heanet.ie/pub/eclipse/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-linux-gtk-x86_64.tar.gz;
sha256 = "33e4e88347acd7f2f9243a8b887bd012cf5aec06c2d0f64da1349444bbd6876b";
url = http://ftp.ing.umu.se/mirror/eclipse/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-linux-gtk-x86_64.tar.gz;
sha256 = "132zd7q9q29h978wnlsfbrlszc85r1wj30yqs2aqbv3l5xgny1kk";
}
else
fetchurl {
url = http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-linux-gtk.tar.gz;
sha256 = "4518992b0d7bafeaa2338017ebc7048b09a227f056f576b2b077a435110ef9dd";
url = http://mirrors.linux-bg.org/eclipse/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-linux-gtk.tar.gz;
sha256 = "0a0lpa7gxg91zswpahi6fvg3csl4csvlym4z2ad5cc1d4yvicp56";
}
;

View file

@ -6559,6 +6559,12 @@ let
inherit (xlibs) libXtst;
};
eclipseNewer = import ../applications/editors/eclipse-classic {
inherit stdenv fetchurl patchelf makeDesktopItem freetype fontconfig jre;
inherit (gtkLibs) glib gtk;
inherit (xlibs) libX11 libXext libXrender libXtst;
};
/* commenting out eclipse - Have a look at eclipseRunner - Marc Weber
Reason: You can get Eclipse in many prepacked variations on eclipse.org
@ -6582,11 +6588,6 @@ let
inherit (xlibs) libXtst;
});
eclipseNewer = import ../applications/editors/eclipse-classic {
inherit stdenv fetchurl patchelf makeDesktopItem freetype fontconfig jre;
inherit (gtkLibs) glib gtk;
inherit (xlibs) libX11 libXext libXrender libXtst;
};
eclipse = plugins:
import ../applications/editors/eclipse {