1{ stdenv
2, buildPythonPackage
3, fetchFromGitiles
4, isPy3k
5}:
6
7buildPythonPackage {
8 pname = "gyp";
9 version = "2020-05-12";
10
11 src = fetchFromGitiles {
12 url = "https://chromium.googlesource.com/external/gyp";
13 rev = "caa60026e223fc501e8b337fd5086ece4028b1c6";
14 sha256 = "0r9phq5yrmj968vdvy9vivli35wn1j9a6iwshp69wl7q4p0x8q2b";
15 };
16
17 patches = stdenv.lib.optionals stdenv.isDarwin [
18 ./no-darwin-cflags.patch
19 ./no-xcode.patch
20 ];
21
22 meta = with stdenv.lib; {
23 description = "A tool to generate native build files";
24 homepage = "https://chromium.googlesource.com/external/gyp/+/master/README.md";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ codyopel ];
27 };
28
29}