3
0
Fork 0
forked from mirrors/nixpkgs

* Updated Eclipse to 3.2.2

* Added Eclipse to the nixpkgs channel (which is possible now we can
  deploy the jdk)


svn path=/nixpkgs/trunk/; revision=8317
This commit is contained in:
Martin Bravenboer 2007-03-17 13:29:15 +00:00
parent 2946af6e52
commit cf3571e85c
4 changed files with 23 additions and 12 deletions

View file

@ -5,14 +5,6 @@ unpackFile $src
ensureDir $out
mv eclipse $out/
# Unpack the jars that contain .so files.
#echo "unpacking some jars..."
#for i in $(find $out -name "*.linux*.jar"); do
# echo $i
# cd $(dirname $i) && $jdk/bin/jar -x < $i
# rm $i
#done
# Set the dynamic linker and RPATH.
rpath=
for i in $libraries; do
@ -22,9 +14,6 @@ find $out \( -type f -a -perm +0100 \) \
-print \
-exec patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
--set-rpath "$rpath" {} \;
#find $out \( -type f -a -name "*.so*" \) \
# -print \
# -exec patchelf --set-rpath "$rpath" {} \;
# Make a wrapper script so that the proper JDK is found.
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \

View file

@ -1 +1,20 @@
import ./eclipse-sdk-3.1.2.nix
{fetchurl, stdenv, makeWrapper, jdk, gtk, glib, libXtst, plugins ? []}:
let {
body =
stdenv.mkDerivation {
name = "eclipse-sdk-3.2.2";
builder = ./builder.sh;
src = bindist;
inherit makeWrapper jdk plugins;
libraries = [gtk glib libXtst];
};
bindist =
fetchurl {
url = http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-SDK-3.2.2-linux-gtk.tar.gz;
sha256 = "0slrx8l75k91v8hqr2rvh6x0a2xdplza8gm1dc39bhyaq2gx9sdx";
};
}

View file

@ -2603,6 +2603,8 @@ rec {
inherit plugins;
};
eclipsesdk = eclipse [];
eclipseSpoofax =
eclipse [spoofax];

View file

@ -41,6 +41,7 @@ let {
docbook5_xsl
e2fsprogs
ecj
eclipsesdk
emacs
emacsUnicode
enscript