* eclipse-sdk: added support for plugins

* Added Spoofax editor plugin.

* re-added eclipse-sdk 3.1, which wasn't necessary after all.


svn path=/nixpkgs/trunk/; revision=4255
This commit is contained in:
Martin Bravenboer 2005-11-07 23:02:17 +00:00
parent ca347a2530
commit e6c4e72c3a
6 changed files with 52 additions and 18 deletions

View File

@ -31,3 +31,7 @@ find $out \( -type f -a -perm +0100 \) \
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
--prefix PATH ":" "$jdk/bin" \
--prefix LD_LIBRARY_PATH ":" "$rpath"
for i in $plugins; do
cp $i $out/eclipse/plugins
done

View File

@ -1,18 +1 @@
{fetchurl, stdenv, makeWrapper, jdk, gtk, glib, libXtst}:
let {
body =
stdenv.mkDerivation {
name = "eclipse-sdk-3.1.1";
builder = ./builder.sh;
src = bindist;
inherit makeWrapper jdk;
libraries = [gtk glib libXtst];
};
bindist =
fetchurl {
url = http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse-SDK-3.1.1-linux-gtk.tar.gz;
md5 = "a2ae61431657e2ed247867b9a9948290";
};
}
import ./eclipse-sdk-3.1.1.nix

View File

@ -0,0 +1,18 @@
{fetchurl, stdenv, makeWrapper, jdk, gtk, glib, libXtst, plugins ? []}:
let {
body =
stdenv.mkDerivation {
name = "eclipse-sdk-3.1.1";
builder = ./builder.sh;
src = bindist;
inherit makeWrapper jdk plugins;
libraries = [gtk glib libXtst];
};
bindist =
fetchurl {
url = http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse-SDK-3.1.1-linux-gtk.tar.gz;
md5 = "a2ae61431657e2ed247867b9a9948290";
};
}

View File

@ -0,0 +1,18 @@
{fetchurl, stdenv, makeWrapper, jdk, gtk, glib, libXtst}:
let {
body =
stdenv.mkDerivation {
name = "eclipse-sdk-3.1";
builder = ./builder.sh;
src = bindist;
inherit makeWrapper jdk;
libraries = [gtk glib libXtst];
};
bindist =
fetchurl {
url = http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1-200506271435/eclipse-SDK-3.1-linux-gtk.tar.gz;
md5 = "0441c11cc5af1e84ed3be322929899e8";
};
}

View File

@ -0,0 +1,6 @@
{stdenv, fetchurl}:
fetchurl {
url = http://www.ii.uib.no/~karltk/spoofax/plugins/org.spoofax.editor_0.3.0.jar;
md5 = "ff66d229c774f840ec8285f64c0f95bc";
}

View File

@ -1696,6 +1696,11 @@ rec {
inherit fetchurl stdenv makeWrapper jdk;
inherit (gtkLibs) gtk glib;
inherit (xlibs) libXtst;
plugins = [spoofax];
};
spoofax = (import ../applications/editors/eclipse/plugins/spoofax) {
inherit fetchurl stdenv;
};
monodevelop = (import ../applications/editors/monodevelop) {