Added Eclipse. Currently, this is a simple unzip of the binary distribution. Todo 1: create a binary distribution in Nix. Todo 2: build the native libraries in Nix.

svn path=/nixpkgs/trunk/; revision=1554
This commit is contained in:
Martin Bravenboer 2004-10-13 14:21:20 +00:00
parent decf75a3d8
commit 9c507f1721
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,7 @@
set -e
. $stdenv/setup
$unzip/bin/unzip $src
mkdir $out
mv eclipse $out/

View File

@ -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";
};
}

View File

@ -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;
};