diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/java/junit/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/java/junit/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/java/junit/default.nix b/nixpkgs/pkgs/development/libraries/java/junit/default.nix new file mode 100644 index 000000000000..0879f0a69260 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/java/junit/default.nix @@ -0,0 +1,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; + }; +} |