2014-06-22 22:03:40 +02:00
|
|
|
{ stdenv, fetchurl, jdk, makeWrapper }:
|
2006-03-31 14:10:20 +02:00
|
|
|
|
|
|
|
assert jdk != null;
|
|
|
|
|
2015-12-21 16:41:34 +01:00
|
|
|
let version = "3.3.9"; in
|
2015-01-21 20:20:05 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apache-maven-${version}";
|
2014-06-22 22:03:40 +02:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2015-01-21 20:20:05 +01:00
|
|
|
url = "mirror://apache/maven/maven-3/${version}/binaries/${name}-bin.tar.gz";
|
2015-12-21 16:41:34 +01:00
|
|
|
sha256 = "6e3e9c949ab4695a204f74038717aa7b2689b1be94875899ac1b3fe42800ff82";
|
2014-06-22 22:03:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
inherit jdk;
|
2014-06-22 22:11:02 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Build automation tool (used primarily for Java projects)";
|
|
|
|
homepage = http://maven.apache.org/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
2006-03-31 14:44:06 +02:00
|
|
|
}
|