2012-06-13 16:11:52 +02:00
|
|
|
{ fetchurl, stdenv, jdk }:
|
2004-07-10 18:17:48 +02:00
|
|
|
|
2012-06-13 16:11:52 +02:00
|
|
|
let
|
2008-04-11 23:32:00 +02:00
|
|
|
|
2012-06-13 16:11:52 +02:00
|
|
|
antContrib = import ./ant-contrib.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2008-04-11 23:32:00 +02:00
|
|
|
|
2012-06-13 16:11:52 +02:00
|
|
|
version = "1.8.0RC1";
|
2008-04-11 23:32:00 +02:00
|
|
|
|
2012-06-13 16:11:52 +02:00
|
|
|
in
|
2004-07-10 18:17:48 +02:00
|
|
|
|
2012-06-13 16:11:52 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ant-${(builtins.parseDrvName jdk.name).name}-${version}";
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
buildInputs = [ antContrib jdk ];
|
|
|
|
|
|
|
|
inherit antContrib jdk;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://apache.mirror.transip.nl/ant/binaries/apache-ant-${version}-bin.tar.bz2";
|
|
|
|
sha256 = "0xvmrsghibq7p3wvfkmvmkkg0zzfmw32lrfjl5f6cfzchjjnw9wx";
|
|
|
|
};
|
2004-07-10 18:17:48 +02:00
|
|
|
}
|