summary refs log tree commit diff
path: root/pkgs/development/libraries/java/junit/default.nix
blob: d14e444f298e71208d27307fa23fe1f6a5b97ddb (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 = "019azv0cfy2zs45c7g3r952gvjmikkq76p2ydr4q5252r0pzy9dr";
    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;
  };
}