added ant-contrib, expression works but is really really ugly - maybe someone else can have a look at it?

svn path=/nixpkgs/trunk/; revision=11588
This commit is contained in:
Tobias Hammerschmidt
2008-04-11 21:32:00 +00:00
parent 2f52d09204
commit 085dc5bc74
2 changed files with 50 additions and 11 deletions
@@ -1,16 +1,23 @@
{stdenv, fetchurl, jdk, name}:
{fetchurl, stdenv, jdk, name}:
let {
body =
stdenv.mkDerivation {
name = name;
builder = ./builder.sh;
buildInputs = [ant jdk];
inherit ant jdk;
buildInputs = [antContrib jdk];
inherit antContrib jdk;
src = fetchurl {
url = http://apache.surfnet.nl/ant/binaries/apache-ant-1.6.5-bin.tar.bz2;
md5 = "26031ee1a2fd248ad0cc2e7f17c44c39";
};
};
ant =
(import ./core-apache-ant.nix) {
antContrib =
(import ./ant-contrib.nix) {
inherit fetchurl stdenv;
};
}