1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/tools/build-managers/apache-maven/default.nix
2021-01-23 20:30:03 +07:00

29 lines
686 B
Nix

{ lib, stdenv, fetchurl, jdk, makeWrapper }:
assert jdk != null;
let version = "3.6.3"; in
stdenv.mkDerivation rec {
pname = "apache-maven";
inherit version;
builder = ./builder.sh;
src = fetchurl {
url = "mirror://apache/maven/maven-3/${version}/binaries/${pname}-${version}-bin.tar.gz";
sha256 = "1i9qlj3vy4j1yyf22nwisd0pg88n9qzp9ymfhwqabadka7br3b96";
};
buildInputs = [ 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 ];
};
}