* 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:
parent
ca347a2530
commit
e6c4e72c3a
@ -31,3 +31,7 @@ find $out \( -type f -a -perm +0100 \) \
|
|||||||
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
||||||
--prefix PATH ":" "$jdk/bin" \
|
--prefix PATH ":" "$jdk/bin" \
|
||||||
--prefix LD_LIBRARY_PATH ":" "$rpath"
|
--prefix LD_LIBRARY_PATH ":" "$rpath"
|
||||||
|
|
||||||
|
for i in $plugins; do
|
||||||
|
cp $i $out/eclipse/plugins
|
||||||
|
done
|
@ -1,18 +1 @@
|
|||||||
{fetchurl, stdenv, makeWrapper, jdk, gtk, glib, libXtst}:
|
import ./eclipse-sdk-3.1.1.nix
|
||||||
|
|
||||||
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";
|
|
||||||
};
|
|
||||||
}
|
|
18
pkgs/applications/editors/eclipse/eclipse-sdk-3.1.1.nix
Normal file
18
pkgs/applications/editors/eclipse/eclipse-sdk-3.1.1.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
18
pkgs/applications/editors/eclipse/eclipse-sdk-3.1.nix
Normal file
18
pkgs/applications/editors/eclipse/eclipse-sdk-3.1.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
@ -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";
|
||||||
|
}
|
@ -1696,6 +1696,11 @@ rec {
|
|||||||
inherit fetchurl stdenv makeWrapper jdk;
|
inherit fetchurl stdenv makeWrapper jdk;
|
||||||
inherit (gtkLibs) gtk glib;
|
inherit (gtkLibs) gtk glib;
|
||||||
inherit (xlibs) libXtst;
|
inherit (xlibs) libXtst;
|
||||||
|
plugins = [spoofax];
|
||||||
|
};
|
||||||
|
|
||||||
|
spoofax = (import ../applications/editors/eclipse/plugins/spoofax) {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
monodevelop = (import ../applications/editors/monodevelop) {
|
monodevelop = (import ../applications/editors/monodevelop) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user