junit_4_12 part 2

This commit is contained in:
Tim Steinbach
2016-10-31 13:25:27 -04:00
parent 8500c24911
commit 5d54cfd7a4
24 changed files with 394 additions and 12 deletions

View File

@@ -1,10 +1,10 @@
{ stdenv, fetchurl }:
{ version, baseName, package, sha512, type ? "jar" }:
{ version, baseName, package, sha512, type ? "jar", suffix ? "" }:
let
name = "${baseName}-${version}";
m2Path = "${package}/${baseName}/${version}";
m2File = "${name}.${type}";
m2File = "${name}${suffix}.${type}";
src = fetchurl rec {
inherit sha512;
url = "mirror://maven/${m2Path}/${m2File}";