nixpkgs/pkgs/development/libraries/java/hydra-ant-logger/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
532 B
Nix
Raw Normal View History

{ fetchFromGitHub, lib, stdenv, ant, jdk }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "hydra-ant-logger";
version = "2010.2";
src = fetchFromGitHub {
owner = "NixOS";
repo = "hydra-ant-logger";
2014-01-03 10:30:28 +00:00
rev = "dae3224f4ed42418d3492bdf5bee4f825819006f";
sha256 = "sha256-5oQ/jZfz7izTcYR+N801HYh4lH2MF54PCMnmA4CpRwc=";
};
2014-01-03 13:33:40 +00:00
buildInputs = [ ant jdk ];
2014-01-03 10:30:28 +00:00
buildPhase = "mkdir lib; ant";
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
'';
meta = {
platforms = lib.platforms.unix;
};
}