nixpkgs/pkgs/development/libraries/java/hydra-ant-logger/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

26 lines
540 B
Nix

{ fetchgit, stdenv, ant, jdk }:
stdenv.mkDerivation rec {
name = "hydra-ant-logger-${version}";
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;
};
}