mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
hydra-ant-logger: Fix the build
This commit is contained in:
parent
b13b146150
commit
226b3c440b
@ -1,24 +1,21 @@
|
||||
{ fetchsvn, stdenv, ant }:
|
||||
{ fetchgit, 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";
|
||||
src = fetchgit {
|
||||
url = https://github.com/NixOS/hydra-ant-logger.git;
|
||||
rev = "dae3224f4ed42418d3492bdf5bee4f825819006f";
|
||||
sha256 = "01s7m6007rn9107rw5wcgna7i20x6p6kfzl4f79jrvpkjy6kz176";
|
||||
};
|
||||
|
||||
buildInputs = [ ant ];
|
||||
|
||||
buildPhase = ''
|
||||
ln -s ${ant}/lib/ant.jar lib/ant.jar
|
||||
ant
|
||||
'';
|
||||
buildPhase = "mkdir lib; ant";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/lib/java"
|
||||
cp -v *.jar "$out/lib/java"
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/java
|
||||
cp -v *.jar $out/lib/java
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user