2022-03-15 10:17:25 +00:00
|
|
|
{ fetchFromGitHub, lib, stdenv, ant, jdk }:
|
2010-03-02 15:37:04 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "hydra-ant-logger";
|
2010-03-05 10:28:21 +00:00
|
|
|
version = "2010.2";
|
2010-03-02 15:37:04 +00:00
|
|
|
|
2022-03-15 10:17:25 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NixOS";
|
|
|
|
repo = "hydra-ant-logger";
|
2014-01-03 10:30:28 +00:00
|
|
|
rev = "dae3224f4ed42418d3492bdf5bee4f825819006f";
|
2022-03-15 10:17:25 +00:00
|
|
|
sha256 = "sha256-5oQ/jZfz7izTcYR+N801HYh4lH2MF54PCMnmA4CpRwc=";
|
2010-03-02 15:37:04 +00:00
|
|
|
};
|
|
|
|
|
2014-01-03 13:33:40 +00:00
|
|
|
buildInputs = [ ant jdk ];
|
2010-03-02 15:37:04 +00:00
|
|
|
|
2014-01-03 10:30:28 +00:00
|
|
|
buildPhase = "mkdir lib; ant";
|
2010-03-02 15:37:04 +00:00
|
|
|
|
2014-01-03 10:30:28 +00:00
|
|
|
installPhase = ''
|
2014-01-09 12:01:38 +00:00
|
|
|
mkdir -p $out/share/java
|
|
|
|
cp -v *.jar $out/share/java
|
2010-03-02 15:37:04 +00:00
|
|
|
'';
|
2016-08-02 16:06:29 +00:00
|
|
|
|
|
|
|
meta = {
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2010-03-02 15:37:04 +00:00
|
|
|
}
|