mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
5af6ba01fd
svn path=/nixpkgs/trunk/; revision=14782
24 lines
478 B
Nix
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";
|
|
};
|
|
}
|