2008-04-11 23:32:00 +02:00
|
|
|
{fetchurl, stdenv, jdk, name}:
|
2004-07-10 18:17:48 +02:00
|
|
|
|
2004-08-24 13:38:40 +02:00
|
|
|
let {
|
2004-07-10 18:17:48 +02:00
|
|
|
body =
|
|
|
|
stdenv.mkDerivation {
|
2004-08-24 13:26:26 +02:00
|
|
|
name = name;
|
2008-04-11 23:32:00 +02:00
|
|
|
|
2004-07-10 18:17:48 +02:00
|
|
|
builder = ./builder.sh;
|
2008-04-11 23:32:00 +02:00
|
|
|
buildInputs = [antContrib jdk];
|
|
|
|
|
|
|
|
inherit antContrib jdk;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2010-01-13 16:20:24 +01:00
|
|
|
url = http://apache.mirror.transip.nl/ant/binaries/apache-ant-1.8.0RC1-bin.tar.bz2 ;
|
|
|
|
sha256 = "0xvmrsghibq7p3wvfkmvmkkg0zzfmw32lrfjl5f6cfzchjjnw9wx";
|
2008-04-11 23:32:00 +02:00
|
|
|
};
|
2004-07-10 18:17:48 +02:00
|
|
|
};
|
|
|
|
|
2008-04-11 23:32:00 +02:00
|
|
|
antContrib =
|
|
|
|
(import ./ant-contrib.nix) {
|
2004-07-10 18:17:48 +02:00
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
|
|
|
}
|