mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
5bca69ac34
Unneded args.something replaced with args: with args; line. After this line args is the only place where we can recieve variables from. Also removed several buildInputs = []; lines. svn path=/nixpkgs/trunk/; revision=10415
22 lines
458 B
Nix
22 lines
458 B
Nix
args: with args;
|
|
stdenv.mkDerivation {
|
|
name = "maven-2.0.8-bin";
|
|
|
|
src = 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
|
|
";
|
|
|
|
meta = {
|
|
description = "Java build tool";
|
|
homepage = "apache.org";
|
|
};
|
|
}
|