2009-11-25 07:51:06 +00:00
|
|
|
{stdenv, fetchurl, jdk, makeWrapper}:
|
2006-03-31 12:10:20 +00:00
|
|
|
|
|
|
|
assert jdk != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-11-25 07:51:06 +00:00
|
|
|
name = "apache-maven-2.2.1";
|
2006-03-31 12:10:20 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2009-11-25 07:51:06 +00:00
|
|
|
url = mirror://apache/maven/binaries/apache-maven-2.2.1-bin.tar.gz;
|
|
|
|
sha256 = "0xnk08ndf1jx458sr5dfr8rh7wi92kyn887vqyzjm1ka91cnb8xr";
|
2006-03-31 12:10:20 +00:00
|
|
|
};
|
|
|
|
|
2009-11-25 07:51:06 +00:00
|
|
|
buildInputs = [makeWrapper];
|
2006-03-31 12:10:20 +00:00
|
|
|
inherit jdk;
|
2006-03-31 12:44:06 +00:00
|
|
|
}
|