2008-01-30 18:20:48 +01:00
|
|
|
args: with args;
|
|
|
|
stdenv.mkDerivation {
|
2009-03-30 16:21:18 +02:00
|
|
|
name = "maven-2.1.0-bin";
|
2007-12-19 01:17:40 +01:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2007-12-19 01:17:40 +01:00
|
|
|
# TODO mirrors
|
2009-03-30 16:20:05 +02:00
|
|
|
url = http://apache.mirroring.de/maven/binaries/apache-maven-2.1.0-bin.zip;
|
|
|
|
sha256 = "13xda2l05pqs7x8ig85i9dqbdbv970zfgqif4wgjz8nn36jbxpvd";
|
2007-12-19 01:17:40 +01:00
|
|
|
};
|
|
|
|
|
2009-03-30 16:20:05 +02:00
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
2007-12-19 01:17:40 +01:00
|
|
|
phases = "unpackPhase installPhase";
|
|
|
|
|
|
|
|
installPhase = "
|
|
|
|
ensureDir \$out; mv * \$out
|
|
|
|
";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Java build tool";
|
|
|
|
homepage = "apache.org";
|
|
|
|
};
|
|
|
|
}
|