depot/third_party/nixpkgs/pkgs/development/tools/build-managers/apache-maven/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

27 lines
668 B
Nix

{ lib, stdenv, fetchurl, jdk, makeWrapper }:
assert jdk != null;
stdenv.mkDerivation rec {
pname = "apache-maven";
version = "3.8.4";
builder = ./builder.sh;
src = fetchurl {
url = "mirror://apache/maven/maven-3/${version}/binaries/${pname}-${version}-bin.tar.gz";
sha256 = "sha256-LNycUZQnuyD9wlvvWpBjt5Dkq9kw57FLTp9IY9b58Tw=";
};
nativeBuildInputs = [ makeWrapper ];
inherit jdk;
meta = with lib; {
description = "Build automation tool (used primarily for Java projects)";
homepage = "https://maven.apache.org/";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ cko ];
};
}