nixpkgs/pkgs/misc/maven/maven-2.nix
Marc Weber 5af6ba01fd doh (forgotten to update name)
svn path=/nixpkgs/trunk/; revision=14782
2009-03-30 14:21:18 +00:00

24 lines
478 B
Nix

args: with args;
stdenv.mkDerivation {
name = "maven-2.1.0-bin";
src = fetchurl {
# TODO mirrors
url = http://apache.mirroring.de/maven/binaries/apache-maven-2.1.0-bin.zip;
sha256 = "13xda2l05pqs7x8ig85i9dqbdbv970zfgqif4wgjz8nn36jbxpvd";
};
buildInputs = [ unzip ];
phases = "unpackPhase installPhase";
installPhase = "
ensureDir \$out; mv * \$out
";
meta = {
description = "Java build tool";
homepage = "apache.org";
};
}