mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03: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;
|
|
}
|