620eecebfb
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
27 lines
667 B
Nix
27 lines
667 B
Nix
{ lib, stdenv, fetchurl, jdk, makeWrapper }:
|
|
|
|
assert jdk != null;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apache-maven";
|
|
version = "3.8.3";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/maven/maven-3/${version}/binaries/${pname}-${version}-bin.tar.gz";
|
|
sha256 = "sha256-DxWX0RCFuP6T2EZSoYxt7qcezp+rukWgLPZgDHdY/Vs=";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
inherit jdk;
|
|
|
|
meta = with lib; {
|
|
description = "Build automation tool (used primarily for Java projects)";
|
|
homepage = "http://maven.apache.org/";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ cko ];
|
|
};
|
|
}
|