2014-06-22 21:03:40 +01:00
|
|
|
{ stdenv, fetchurl, jdk, makeWrapper }:
|
2006-03-31 13:10:20 +01:00
|
|
|
|
|
|
|
assert jdk != null;
|
|
|
|
|
2019-04-15 10:22:57 +01:00
|
|
|
let version = "3.6.1"; in
|
2015-01-21 19:20:05 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apache-maven-${version}";
|
2014-06-22 21:03:40 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2015-01-21 19:20:05 +00:00
|
|
|
url = "mirror://apache/maven/maven-3/${version}/binaries/${name}-bin.tar.gz";
|
2019-04-15 10:22:57 +01:00
|
|
|
sha256 = "1rv97g9qr6sifl88rxbsqnz5i79m6ifs36srri08j3y3k5dc6a15";
|
2014-06-22 21:03:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
inherit jdk;
|
2014-06-22 21:11:02 +01: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 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2017-10-31 11:43:34 +00:00
|
|
|
maintainers = with maintainers; [ cko ];
|
2014-06-22 21:11:02 +01:00
|
|
|
};
|
2006-03-31 13:44:06 +01:00
|
|
|
}
|