nixpkgs/pkgs/development/libraries/java/hydra-ant-logger/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

25 lines
485 B
Nix

{ fetchsvn, stdenv, ant }:
stdenv.mkDerivation rec {
name = "hydra-ant-logger-${version}";
version = "2010.2";
src = fetchsvn {
url = https://svn.nixos.org/repos/nix/hydra-ant-logger/trunk;
rev = 20396;
sha256 = "1lp5zy80m4y2kq222q2x052ys5mlhgc7y4kxh2bl48744f1fkgyr";
};
buildInputs = [ ant ];
buildPhase = ''
ln -s ${ant}/lib/ant.jar lib/ant.jar
ant
'';
installPhase = ''
mkdir -p "$out/lib/java"
cp -v *.jar "$out/lib/java"
'';
}