mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
16 lines
352 B
Nix
16 lines
352 B
Nix
{stdenv, fetchurl, jdk, makeWrapper}:
|
|
|
|
assert jdk != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "apache-maven-3.0.4";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = mirror://apache/maven/binaries/apache-maven-3.0.4-bin.tar.gz;
|
|
sha256 = "0bxa7x8ifm8590nxifhsh3sxzm6aicbczyx21vibg3606ih8fnnk";
|
|
};
|
|
|
|
buildInputs = [makeWrapper];
|
|
inherit jdk;
|
|
}
|