2014-01-03 11:30:28 +01:00
|
|
|
{ fetchgit, stdenv, ant }:
|
2010-03-02 16:37:04 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
2014-01-03 11:30:28 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/NixOS/hydra-ant-logger.git;
|
|
|
|
rev = "dae3224f4ed42418d3492bdf5bee4f825819006f";
|
|
|
|
sha256 = "01s7m6007rn9107rw5wcgna7i20x6p6kfzl4f79jrvpkjy6kz176";
|
2010-03-02 16:37:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ant ];
|
|
|
|
|
2014-01-03 11:30:28 +01:00
|
|
|
buildPhase = "mkdir lib; ant";
|
2010-03-02 16:37:04 +01:00
|
|
|
|
2014-01-03 11:30:28 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib/java
|
|
|
|
cp -v *.jar $out/lib/java
|
2010-03-02 16:37:04 +01:00
|
|
|
'';
|
|
|
|
}
|