2014-06-22 13:03:40 -07:00
|
|
|
{ stdenv, fetchurl, jdk, makeWrapper }:
|
2006-03-31 04:10:20 -08:00
|
|
|
|
|
|
|
assert jdk != null;
|
|
|
|
|
2018-05-20 21:17:25 -07:00
|
|
|
let version = "3.5.3"; in
|
2015-01-21 11:20:05 -08:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apache-maven-${version}";
|
2014-06-22 13:03:40 -07:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2015-01-21 11:20:05 -08:00
|
|
|
url = "mirror://apache/maven/maven-3/${version}/binaries/${name}-bin.tar.gz";
|
2018-05-20 21:17:25 -07:00
|
|
|
sha256 = "0244mpziz4rw35x2cahsqlxpnygvi6qpll16g4kx87db7wvmcadm";
|
2014-06-22 13:03:40 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
inherit jdk;
|
2014-06-22 13:11:02 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Build automation tool (used primarily for Java projects)";
|
|
|
|
homepage = http://maven.apache.org/;
|
|
|
|
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
|
|
|
}
|