2010-03-02 16:37:04 +01:00
|
|
|
{ fetchsvn, stdenv, ant }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hydra-ant-logger-${version}";
|
2010-03-05 11:28:21 +01:00
|
|
|
version = "2010.2";
|
2010-03-02 16:37:04 +01:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = https://svn.nixos.org/repos/nix/hydra-ant-logger/trunk;
|
2010-03-05 11:28:21 +01:00
|
|
|
rev = 20396;
|
|
|
|
sha256 = "1lp5zy80m4y2kq222q2x052ys5mlhgc7y4kxh2bl48744f1fkgyr";
|
2010-03-02 16:37:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ant ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
ln -s ${ant}/lib/ant.jar lib/ant.jar
|
|
|
|
ant
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$out/lib/java"
|
2010-03-02 16:37:04 +01:00
|
|
|
cp -v *.jar "$out/lib/java"
|
|
|
|
'';
|
|
|
|
}
|