From 7986ff22a0b5c2eed30066860d2516546ab4ff59 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 2 Jun 2022 01:05:39 +0200 Subject: [PATCH] python3Packages.gyp: 2020-05-12 -> unstable-2022-04-01 --- .../python-modules/gyp/default.nix | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/gyp/default.nix b/pkgs/development/python-modules/gyp/default.nix index e98d844a33e3..ca9a8dc5a2d7 100644 --- a/pkgs/development/python-modules/gyp/default.nix +++ b/pkgs/development/python-modules/gyp/default.nix @@ -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 ]; }; - }