maven 2 binary (don't have time for source built right now)
svn path=/nixpkgs/trunk/; revision=9953
This commit is contained in:
parent
4290be9a99
commit
5a0d090ace
23
pkgs/misc/maven/maven-2.nix
Normal file
23
pkgs/misc/maven/maven-2.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
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";
|
||||||
|
};
|
||||||
|
}
|
@ -4837,6 +4837,13 @@ inherit (xlibs) libXrandr; # FIXME does this option exist? I couldn't find it as
|
|||||||
inherit stdenv fetchurl jdk;
|
inherit stdenv fetchurl jdk;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# don't have time for the source build right now
|
||||||
|
# maven2
|
||||||
|
mvn_bin = import ../misc/maven/maven-2.nix {
|
||||||
|
inherit fetchurl;
|
||||||
|
stdenv = stdenvUsingSetupNew2;
|
||||||
|
};
|
||||||
|
|
||||||
nix = import ../tools/package-management/nix {
|
nix = import ../tools/package-management/nix {
|
||||||
inherit fetchurl stdenv perl curl bzip2;
|
inherit fetchurl stdenv perl curl bzip2;
|
||||||
aterm = aterm242fixes;
|
aterm = aterm242fixes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user