2012-06-13 15:11:52 +01:00
|
|
|
{ fetchurl, stdenv, jdk }:
|
2004-07-10 17:17:48 +01:00
|
|
|
|
2012-06-13 15:11:52 +01:00
|
|
|
let
|
2008-04-11 22:32:00 +01:00
|
|
|
|
2012-06-13 15:11:52 +01:00
|
|
|
antContrib = import ./ant-contrib.nix {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
};
|
2008-04-11 22:32:00 +01:00
|
|
|
|
2012-06-18 17:58:57 +01:00
|
|
|
version = "1.8.4";
|
2008-04-11 22:32:00 +01:00
|
|
|
|
2012-06-13 15:11:52 +01:00
|
|
|
in
|
2004-07-10 17:17:48 +01:00
|
|
|
|
2012-06-13 15:11:52 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ant-${(builtins.parseDrvName jdk.name).name}-${version}";
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
buildInputs = [ antContrib jdk ];
|
|
|
|
|
|
|
|
inherit antContrib jdk;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-06-18 17:58:57 +01:00
|
|
|
url = "mirror://apache/ant/binaries/apache-ant-${version}-bin.tar.bz2";
|
|
|
|
sha1 = "d9e3e83dd9664cfe1dcd4841c082db3f559af922";
|
2012-06-13 15:11:52 +01:00
|
|
|
};
|
2004-07-10 17:17:48 +01:00
|
|
|
}
|