1{ stdenv, antBuild, fetchgit, perl }:
2
3let
4 version = "4.11";
5in antBuild {
6 name = "junit-${version}";
7
8 # I think this is only used to generate the docs, and will likely disappear
9 # with the next release of junit since its build system completely changes.
10 buildInputs = [perl];
11
12 src = fetchgit {
13 url = "https://github.com/junit-team/junit.git";
14 sha256 = "1cn5dhs6vpbfbcmnm2vb1212n0kblv8cxrvnwmksjxd6bzlkac1k";
15 rev = "c2e4d911fadfbd64444fb285342a8f1b72336169";
16 };
17
18 antProperties = [
19 { name = "version"; value = version; }
20 ];
21
22 meta = {
23 homepage = http://www.junit.org/;
24 description = "A framework for repeatable tests in Java";
25 license = stdenv.lib.licenses.epl10;
26 broken = true;
27 };
28}