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