1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

ninja: Update to v1.3.4 and drop unzip dependency.

Version 1.2.0 is way too old in order to build the latest chromium (29) version,
so let's get it up to date (especially because no other package is referencing
ninja, so it should be non-critical).

The dependency on unzip is not needed here, because GitHub also provides
archives in tar.gz format.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2013-06-21 09:57:07 +02:00
parent 8b425e2ae3
commit 1709571b3f
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -1,16 +1,16 @@
{ stdenv, fetchurl, unzip, python, asciidoc, re2c }:
{ stdenv, fetchurl, python, asciidoc, re2c }:
stdenv.mkDerivation rec {
name = "ninja-${version}";
version = "1.2.0";
version = "1.3.4";
src = fetchurl {
name = "${name}.zip";
url = "https://github.com/martine/ninja/archive/v${version}.zip";
sha256 = "15ynh806ah37bqb57hcs3mj2g82900sncp6n3bssfggb4azgjlh3";
name = "${name}.tar.gz";
url = "https://github.com/martine/ninja/archive/v${version}.tar.gz";
sha256 = "16b0dxq3v19qjchcmfqq3m4l8s4qx2d674vfvamg0s3vvfqnc477";
};
buildInputs = [ python asciidoc unzip re2c ];
buildInputs = [ python asciidoc re2c ];
buildPhase = ''
python bootstrap.py