diff --git a/pkgs/applications/editors/eclipse/builder.sh b/pkgs/applications/editors/eclipse/builder.sh new file mode 100755 index 000000000000..7e1895f2feff --- /dev/null +++ b/pkgs/applications/editors/eclipse/builder.sh @@ -0,0 +1,7 @@ +set -e + +. $stdenv/setup + +$unzip/bin/unzip $src +mkdir $out +mv eclipse $out/ diff --git a/pkgs/applications/editors/eclipse/default.nix b/pkgs/applications/editors/eclipse/default.nix new file mode 100644 index 000000000000..86570d90a31e --- /dev/null +++ b/pkgs/applications/editors/eclipse/default.nix @@ -0,0 +1,17 @@ +{fetchurl, stdenv, unzip}: + +let { + body = + stdenv.mkDerivation { + name = "eclipse-sdk-3.0.1"; + builder = ./builder.sh; + src = bindist; + inherit unzip; + }; + + bindist = + fetchurl { + url = http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/R-3.0.1-200409161125/eclipse-SDK-3.0.1-linux-gtk.zip; + md5 = "d0f743c972adf13e71a43b2dc6c9c55b"; + }; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index c1b141dff1fc..9e5947a496d2 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -860,6 +860,10 @@ rec { inherit (xlibs) libXt libXp libXext libX11; }; + eclipse = (import ../applications/editors/eclipse) { + inherit fetchurl stdenv unzip; + }; + emacs = (import ../applications/editors/emacs) { inherit fetchurl stdenv xlibs; };