nixpkgs/pkgs/misc/maven/maven-2.nix
Marc Weber 5a0d090ace maven 2 binary (don't have time for source built right now)
svn path=/nixpkgs/trunk/; revision=9953
2007-12-19 00:17:40 +00:00

24 lines
490 B
Nix

args:
args.stdenv.mkDerivation {
name = "maven-2.0.8-bin";
src = args.fetchurl {
# TODO mirrors
url = http://apache.linux-mirror.org/maven/binaries/apache-maven-2.0.8-bin.tar.bz2;
sha256 = "1wasvqplw7xk04j38vsq94zbrlpdg2k4348bg8730snr6zgaasai";
};
phases = "unpackPhase installPhase";
installPhase = "
ensureDir \$out; mv * \$out
";
buildInputs =(with args; []);
meta = {
description = "Java build tool";
homepage = "apache.org";
};
}