From eed74f05c78ee72cd87a5074aabb07fc28979dc9 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 26 Sep 2013 08:23:26 +0200 Subject: [PATCH] python-gyp: Update to SVN revision 1738. This fixes a few issues with symlinks and also needs to be up to date because we're going to use it for building Chromium instead of the bundled GYP that comes with Chromium. Also, the package was missing a license and in the current revision, we also have test cases, so let's enable them. Signed-off-by: aszlig --- pkgs/top-level/python-packages.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 33a021b43b3e..abae0346c59f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2663,24 +2663,23 @@ pythonPackages = modules // import ./python-packages-generated.nix { gyp = buildPythonPackage rec { - rev = "1635"; + rev = "1738"; name = "gyp-r${rev}"; src = fetchsvn { url = "http://gyp.googlecode.com/svn/trunk"; inherit rev; - sha256 = "1hn5gxgj2z399f71kz11m61ifds7mx4zkymnd1c87k1wyp7bs5k5"; + sha256 = "155k7v6453j2kg02xqfqbkzkbaqc8aynxs2k462jmrp638vxia9s"; }; - patches = if pkgs.stdenv.isDarwin then [ ../development/python-modules/gyp/no-xcode.patch ../development/python-modules/gyp/no-darwin-cflags.patch ] else null; - - # error: invalid command 'test' - doCheck = false; - - postUnpack = "find . -print0 | xargs -0 touch"; + patches = optionals pkgs.stdenv.isDarwin [ + ../development/python-modules/gyp/no-xcode.patch + ../development/python-modules/gyp/no-darwin-cflags.patch + ]; meta = { homepage = http://code.google.com/p/gyp; + license = stdenv.lib.licenses.bsd3; description = "Generate Your Projects"; }; };