forked from mirrors/nixpkgs
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:
parent
decf75a3d8
commit
9c507f1721
7
pkgs/applications/editors/eclipse/builder.sh
Executable file
7
pkgs/applications/editors/eclipse/builder.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
set -e
|
||||
|
||||
. $stdenv/setup
|
||||
|
||||
$unzip/bin/unzip $src
|
||||
mkdir $out
|
||||
mv eclipse $out/
|
17
pkgs/applications/editors/eclipse/default.nix
Normal file
17
pkgs/applications/editors/eclipse/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue