blob: bb8c67285c5abe6dccd440926e78b068d92f6532 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ 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 = ''
ensureDir "$out/lib/java"
cp -v *.jar "$out/lib/java"
'';
}
|