mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 10:34:16 +00:00
4f19239875
"ant-<JDK name>". * Remove openjdkDarwin/ecjDarwin/antDarwin attributes. Instead the openjdk attribute refers to the Darwin package on Darwin. svn path=/nixpkgs/trunk/; revision=34505
27 lines
510 B
Nix
27 lines
510 B
Nix
{ fetchurl, stdenv, jdk }:
|
|
|
|
let
|
|
|
|
antContrib = import ./ant-contrib.nix {
|
|
inherit fetchurl stdenv;
|
|
};
|
|
|
|
version = "1.8.0RC1";
|
|
|
|
in
|
|
|
|
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";
|
|
};
|
|
}
|