ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / gyp / default.nix
blobca9a8dc5a2d7c3de6537e2adb83c0214567bb2af
1 { lib
2 , stdenv
3 , buildPythonPackage
4 , fetchFromGitiles
5 , six
6 , python
7 }:
9 buildPythonPackage {
10   pname = "gyp";
11   version = "unstable-2022-04-01";
13   src = fetchFromGitiles {
14     url = "https://chromium.googlesource.com/external/gyp";
15     rev = "9ecf45e37677743503342ee4c6a76eaee80e4a7f";
16     hash = "sha256-LUlF2VhRnuDwJLdITgmXIQV/IuKdx1KXQkiPVHKrl4Q=";
17   };
19   patches = lib.optionals stdenv.isDarwin [
20     ./no-darwin-cflags.patch
21     ./no-xcode.patch
22   ];
24   propagatedBuildInputs = [
25     six
26   ];
28   pythonImportsCheck = [ "gyp" "gyp.generator" ];
30   meta = with lib; {
31     description = "A tool to generate native build files";
32     homepage = "https://gyp.gsrc.io";
33     license = licenses.bsd3;
34     maintainers = with maintainers; [ codyopel ];
35   };