3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/build-managers/apache-maven/default.nix

28 lines
668 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, jdk, makeWrapper }:
assert jdk != null;
2015-01-21 19:20:05 +00:00
stdenv.mkDerivation rec {
2019-08-13 22:52:01 +01:00
pname = "apache-maven";
2021-04-26 12:29:16 +01:00
version = "3.8.1";
builder = ./builder.sh;
src = fetchurl {
2019-08-13 22:52:01 +01:00
url = "mirror://apache/maven/maven-3/${version}/binaries/${pname}-${version}-bin.tar.gz";
2021-04-26 12:29:16 +01:00
sha256 = "00pgmc9v2s2970wgl2ksvpqy4lxx17zhjm9fgd10fkamxc2ik2mr";
};
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;
2017-10-31 11:43:34 +00:00
maintainers = with maintainers; [ cko ];
};
}