mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
5aa53cc9df
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/apache-maven/versions. These checks were done: - built on NixOS - /nix/store/zvhkfnxmklx0bas9zmykbmzqphvi6c9p-apache-maven-3.5.3/bin/mvn passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 3.5.3 with grep in /nix/store/zvhkfnxmklx0bas9zmykbmzqphvi6c9p-apache-maven-3.5.3 - directory tree listing: https://gist.github.com/9a7bcffed5e910bc831d8fa971bbcec6 - du listing: https://gist.github.com/1285616d86145877047eff13f5c9dc6d
28 lines
665 B
Nix
28 lines
665 B
Nix
{ stdenv, fetchurl, jdk, makeWrapper }:
|
|
|
|
assert jdk != null;
|
|
|
|
let version = "3.5.3"; in
|
|
stdenv.mkDerivation rec {
|
|
name = "apache-maven-${version}";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/maven/maven-3/${version}/binaries/${name}-bin.tar.gz";
|
|
sha256 = "0244mpziz4rw35x2cahsqlxpnygvi6qpll16g4kx87db7wvmcadm";
|
|
};
|
|
|
|
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;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ cko ];
|
|
};
|
|
}
|