|
|
|
@ -1,16 +1,19 @@ |
|
|
|
|
{ lib, stdenv |
|
|
|
|
{ lib |
|
|
|
|
, stdenv |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchFromGitiles |
|
|
|
|
, six |
|
|
|
|
, python |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage { |
|
|
|
|
pname = "gyp"; |
|
|
|
|
version = "2020-05-12"; |
|
|
|
|
version = "unstable-2022-04-01"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitiles { |
|
|
|
|
url = "https://chromium.googlesource.com/external/gyp"; |
|
|
|
|
rev = "caa60026e223fc501e8b337fd5086ece4028b1c6"; |
|
|
|
|
sha256 = "0r9phq5yrmj968vdvy9vivli35wn1j9a6iwshp69wl7q4p0x8q2b"; |
|
|
|
|
rev = "9ecf45e37677743503342ee4c6a76eaee80e4a7f"; |
|
|
|
|
hash = "sha256-LUlF2VhRnuDwJLdITgmXIQV/IuKdx1KXQkiPVHKrl4Q="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = lib.optionals stdenv.isDarwin [ |
|
|
|
@ -18,11 +21,16 @@ buildPythonPackage { |
|
|
|
|
./no-xcode.patch |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
six |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "gyp" "gyp.generator" ]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "A tool to generate native build files"; |
|
|
|
|
homepage = "https://chromium.googlesource.com/external/gyp/+/master/README.md"; |
|
|
|
|
homepage = "https://gyp.gsrc.io"; |
|
|
|
|
license = licenses.bsd3; |
|
|
|
|
maintainers = with maintainers; [ codyopel ]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|