2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2018-10-16 22:48:57 +02:00
|
|
|
, buildPythonPackage
|
2019-12-02 23:29:40 +01:00
|
|
|
, fetchFromGitiles
|
2018-10-16 22:48:57 +02:00
|
|
|
}:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
buildPythonPackage {
|
2018-10-16 22:48:57 +02:00
|
|
|
pname = "gyp";
|
2020-07-20 14:52:22 +02:00
|
|
|
version = "2020-05-12";
|
2018-10-16 22:48:57 +02:00
|
|
|
|
2019-12-02 23:29:40 +01:00
|
|
|
src = fetchFromGitiles {
|
|
|
|
url = "https://chromium.googlesource.com/external/gyp";
|
2020-07-20 14:52:22 +02:00
|
|
|
rev = "caa60026e223fc501e8b337fd5086ece4028b1c6";
|
|
|
|
sha256 = "0r9phq5yrmj968vdvy9vivli35wn1j9a6iwshp69wl7q4p0x8q2b";
|
2018-10-16 22:48:57 +02:00
|
|
|
};
|
|
|
|
|
2021-01-24 01:29:22 +01:00
|
|
|
patches = lib.optionals stdenv.isDarwin [
|
2018-10-16 22:48:57 +02:00
|
|
|
./no-darwin-cflags.patch
|
|
|
|
./no-xcode.patch
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-16 22:48:57 +02:00
|
|
|
description = "A tool to generate native build files";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://chromium.googlesource.com/external/gyp/+/master/README.md";
|
2018-10-16 22:48:57 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ codyopel ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|