2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, jdk, makeWrapper }:
|
2006-03-31 12:10:20 +00:00
|
|
|
|
|
|
|
assert jdk != null;
|
|
|
|
|
2015-01-21 19:20:05 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "apache-maven";
|
2021-08-15 09:17:08 +00:00
|
|
|
version = "3.8.2";
|
2014-06-22 20:03:40 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 21:52:01 +00:00
|
|
|
url = "mirror://apache/maven/maven-3/${version}/binaries/${pname}-${version}-bin.tar.gz";
|
2021-08-15 09:17:08 +00:00
|
|
|
sha256 = "sha256-ja4QsJ/re45MB5/DmhHzKWq2MP2bxE7OoPsojOx3cPc=";
|
2014-06-22 20:03:40 +00:00
|
|
|
};
|
|
|
|
|
2021-02-07 09:17:39 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2014-06-22 20:03:40 +00:00
|
|
|
|
|
|
|
inherit jdk;
|
2014-06-22 20:11:02 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2014-06-22 20:11:02 +00:00
|
|
|
description = "Build automation tool (used primarily for Java projects)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://maven.apache.org/";
|
2014-06-22 20:11:02 +00:00
|
|
|
license = licenses.asl20;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2017-10-31 11:43:34 +00:00
|
|
|
maintainers = with maintainers; [ cko ];
|
2014-06-22 20:11:02 +00:00
|
|
|
};
|
2006-03-31 12:44:06 +00:00
|
|
|
}
|