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