summary refs log tree commit diff
path: root/pkgs/development/libraries/java/junit/default.nix
blob: c114ddeac2749dec392a66504cc25ee253dd519f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, antBuild, fetchgit, perl }:

let
  version = "4.11";
in antBuild {
  name = "junit-${version}";

  # I think this is only used to generate the docs, and will likely disappear
  # with the next release of junit since its build system completely changes.
  buildInputs = [perl];

  src = fetchgit {
    url = "https://github.com/junit-team/junit.git";
    sha256 = "1cn5dhs6vpbfbcmnm2vb1212n0kblv8cxrvnwmksjxd6bzlkac1k";
    rev = "c2e4d911fadfbd64444fb285342a8f1b72336169";
  };

  antProperties = [
    { name = "version"; value = version; }
  ];

  meta = {
    homepage = "http://www.junit.org/";
    description = "A framework for repeatable tests in Java";
    license = stdenv.lib.licenses.epl10;
    broken = true;
  };
}