8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
25 lines
528 B
Nix
25 lines
528 B
Nix
{ fetchgit, stdenv, ant, jdk }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "hydra-ant-logger";
|
|
version = "2010.2";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/NixOS/hydra-ant-logger.git";
|
|
rev = "dae3224f4ed42418d3492bdf5bee4f825819006f";
|
|
sha256 = "01s7m6007rn9107rw5wcgna7i20x6p6kfzl4f79jrvpkjy6kz176";
|
|
};
|
|
|
|
buildInputs = [ ant jdk ];
|
|
|
|
buildPhase = "mkdir lib; ant";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/java
|
|
cp -v *.jar $out/share/java
|
|
'';
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|