aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/gyp/default.nix
blob: c951c97b20f4dd40aaac47727047510aedc7ffaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv
, buildPythonPackage
, fetchFromGitiles
, isPy3k
}:

buildPythonPackage {
  pname = "gyp";
  version = "2020-05-12";

  src = fetchFromGitiles {
    url = "https://chromium.googlesource.com/external/gyp";
    rev = "caa60026e223fc501e8b337fd5086ece4028b1c6";
    sha256 = "0r9phq5yrmj968vdvy9vivli35wn1j9a6iwshp69wl7q4p0x8q2b";
  };

  patches = stdenv.lib.optionals stdenv.isDarwin [
    ./no-darwin-cflags.patch
    ./no-xcode.patch
  ];

  meta = with stdenv.lib; {
    description = "A tool to generate native build files";
    homepage = "https://chromium.googlesource.com/external/gyp/+/master/README.md";
    license = licenses.bsd3;
    maintainers = with maintainers; [ codyopel ];
  };

}