1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/misc/maven/default.nix

25 lines
543 B
Nix

{ stdenv, fetchurl, jdk, makeWrapper }:
assert jdk != null;
stdenv.mkDerivation {
name = "apache-maven-3.1.1";
builder = ./builder.sh;
src = fetchurl {
url = mirror://apache/maven/binaries/apache-maven-3.1.1-bin.tar.gz;
sha256 = "06ymc5y8bp5crcz74z2m9pf58aid5q11v2klnjmxb4ar8mkd8zh7";
};
buildInputs = [ makeWrapper ];
inherit jdk;
meta = with stdenv.lib; {
description = "Build automation tool (used primarily for Java projects)";
homepage = http://maven.apache.org/;
license = licenses.asl20;
};
}