mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
Ninja build system: package version 1.2.0
This commit is contained in:
parent
f2f439a44b
commit
a35052c2e6
@ -2603,6 +2603,28 @@ pythonPackages = python.modules // rec {
|
||||
};
|
||||
});
|
||||
|
||||
ninja = pkgs.stdenv.mkDerivation rec {
|
||||
name = "ninja-1.2.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/martine/ninja/archive/v1.2.0.zip";
|
||||
sha256 = "15ynh806ah37bqb57hcs3mj2g82900sncp6n3bssfggb4azgjlh3";
|
||||
};
|
||||
buildInputs = [ python pkgs.asciidoc pkgs.unzip pkgs.re2c ];
|
||||
buildPhase = ''
|
||||
python bootstrap.py
|
||||
asciidoc doc/manual.asciidoc
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ninja $out/bin/
|
||||
|
||||
mkdir -p $out/share/doc/ninja
|
||||
cp doc/manual.asciidoc $out/share/doc/ninja/
|
||||
cp doc/manual.html $out/share/doc/ninja/
|
||||
'';
|
||||
homepage = http://martine.github.io/ninja/;
|
||||
};
|
||||
|
||||
nose = buildPythonPackage rec {
|
||||
name = "nose-1.2.1";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user