forked from mirrors/nixpkgs
ff294a7162
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
28 lines
665 B
Nix
28 lines
665 B
Nix
{ stdenv, fetchurl, jdk, makeWrapper }:
|
|
|
|
assert jdk != null;
|
|
|
|
let version = "3.6.0"; 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 = "0ds61yy6hs7jgmld64b65ss6kpn5cwb186hw3i4il7vaydm386va";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|