2014-06-22 22:03:40 +02:00
|
|
|
{ stdenv, fetchurl, jdk, makeWrapper }:
|
2006-03-31 14:10:20 +02:00
|
|
|
|
|
|
|
assert jdk != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-07-04 19:45:30 +02:00
|
|
|
name = "apache-maven-3.1.1";
|
2014-06-22 22:03:40 +02:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-07-04 19:45:30 +02:00
|
|
|
url = mirror://apache/maven/binaries/apache-maven-3.1.1-bin.tar.gz;
|
|
|
|
sha256 = "06ymc5y8bp5crcz74z2m9pf58aid5q11v2klnjmxb4ar8mkd8zh7";
|
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
|
|
|
}
|