javaPackages: Use artifactId/groupId

This commit is contained in:
Tim Steinbach
2016-11-16 12:39:59 -05:00
parent 82c1ff501a
commit 8a7a44c918
73 changed files with 551 additions and 551 deletions

View File

@@ -1,9 +1,9 @@
{ stdenv, fetchurl }:
{ version, baseName, package, sha512, type ? "jar", suffix ? "" }:
{ version, artifactId, groupId, sha512, type ? "jar", suffix ? "" }:
let
name = "${baseName}-${version}";
m2Path = "${package}/${baseName}/${version}";
name = "${artifactId}-${version}";
m2Path = "${builtins.replaceStrings ["."] ["/"] groupId}/${artifactId}/${version}";
m2File = "${name}${suffix}.${type}";
src = fetchurl rec {
inherit sha512;