mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
2ffa48af25
svn path=/nixpkgs/trunk/; revision=18609
16 lines
352 B
Nix
16 lines
352 B
Nix
{stdenv, fetchurl, jdk, makeWrapper}:
|
|
|
|
assert jdk != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "apache-maven-2.2.1";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = mirror://apache/maven/binaries/apache-maven-2.2.1-bin.tar.gz;
|
|
sha256 = "0xnk08ndf1jx458sr5dfr8rh7wi92kyn887vqyzjm1ka91cnb8xr";
|
|
};
|
|
|
|
buildInputs = [makeWrapper];
|
|
inherit jdk;
|
|
}
|