depot/third_party/nixpkgs/pkgs/development/python-modules/gyp/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
699 B
Nix

{ lib, 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 = lib.optionals stdenv.isDarwin [
./no-darwin-cflags.patch
./no-xcode.patch
];
meta = with 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 ];
};
}