nixpkgs/pkgs/development/tools/build-managers/apache-ant/default.nix
Eelco Dolstra 9f350c653a * Ant updated to 1.8.4.
svn path=/nixpkgs/trunk/; revision=34551
2012-06-18 16:58:57 +00:00

27 lines
477 B
Nix

{ fetchurl, stdenv, jdk }:
let
antContrib = import ./ant-contrib.nix {
inherit fetchurl stdenv;
};
version = "1.8.4";
in
stdenv.mkDerivation {
name = "ant-${(builtins.parseDrvName jdk.name).name}-${version}";
builder = ./builder.sh;
buildInputs = [ antContrib jdk ];
inherit antContrib jdk;
src = fetchurl {
url = "mirror://apache/ant/binaries/apache-ant-${version}-bin.tar.bz2";
sha1 = "d9e3e83dd9664cfe1dcd4841c082db3f559af922";
};
}