summary refs log tree commit diff
path: root/pkgs/misc/maven/default.nix
blob: b7cb84fbb3c40ea7f57df6d2dddbd68091efbc1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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;
  };
}