nixpkgs/pkgs/development/tools/build-managers/waf/default.nix
Ryan Mulligan 2702a81533 waf: 1.9.0 -> 2.0.4
Semi-automatic update. These checks were performed:

- built on NixOS
- found 2.0.4 with grep in /nix/store/dr6xvrw483jr5vgznwpjj0hxx3jq86ha-waf-2.0.4
- found 2.0.4 in filename of file in /nix/store/dr6xvrw483jr5vgznwpjj0hxx3jq86ha-waf-2.0.4

cc "@vrthra"
2018-02-28 20:32:55 +00:00

32 lines
670 B
Nix

{ lib, stdenv, fetchurl, python2 }:
stdenv.mkDerivation rec {
name = "waf-${version}";
version = "2.0.4";
src = fetchurl {
url = "https://waf.io/waf-${version}.tar.bz2";
sha256 = "0zmnwgccq5j7ipfi2j0k5s40q27krp1m6v2bd650axgzdbpa7ain";
};
buildInputs = [ python2 ];
configurePhase = ''
python waf-light configure
'';
buildPhase = ''
python waf-light build
'';
installPhase = ''
install waf $out
'';
meta = with stdenv.lib; {
description = "Meta build system";
homepage = "https://waf.io/";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ vrthra ];
};
}