added unzip to buildPythonPackage's buildInputs - used quite often

authored by: chaoflow, goibhniu

svn path=/nixpkgs/branches/stdenv-updates/; revision=32624
This commit is contained in:
Florian Friesdorf 2012-02-27 17:33:55 +00:00
parent 2a6597f5cb
commit 9e646d4689
2 changed files with 5 additions and 11 deletions

View File

@ -3,7 +3,7 @@
(http://pypi.python.org/pypi/setuptools/), which represents a large
number of Python packages nowadays. */
{ python, setuptools, wrapPython, lib, site, offlineDistutils }:
{ python, setuptools, wrapPython, lib, site, offlineDistutils, unzip }:
{ name, namePrefix ? "python-"
@ -71,7 +71,7 @@ python.stdenv.mkDerivation (attrs // {
name = namePrefix + name;
buildInputs = [ python wrapPython setuptools ] ++ buildInputs ++ pythonPath;
buildInputs = [ python wrapPython setuptools unzip ] ++ buildInputs ++ pythonPath;
preConfigure = ''
# do not allow distutils to make downloads, whatever install command is used

View File

@ -8,7 +8,7 @@ let pythonPackages = python.modules // rec {
buildPythonPackage = import ../development/python-modules/generic {
inherit (pkgs) lib;
inherit (pkgs) lib unzip;
inherit python wrapPython setuptools site offlineDistutils;
};
@ -84,7 +84,7 @@ let pythonPackages = python.modules // rec {
sha1 = "fa4aec08e59fa5964197f59ba42408d64031675b";
};
buildInputs = [ pkgs.unzip pkgs.sqlite ];
buildInputs = [ pkgs.sqlite ];
doCheck = false;
@ -103,8 +103,6 @@ let pythonPackages = python.modules // rec {
sha256 = "ee6da1aaad8b08a74a33eb82264b1a2bf12a7d5aefc7e9d7d40a8f8fa9912e62";
};
buildInputs = [ pkgs.unzip ];
# How do we run the tests?
doCheck = false;
@ -288,8 +286,6 @@ let pythonPackages = python.modules // rec {
sha256 = "1i5n97l20kn2w9v6x8ybcdnl323vy8lcc5qlxz5l89di36a2skgw";
};
buildInputs = [ pkgs.unzip ];
# The tests fail - I don't know why
doCheck = false;
@ -1641,7 +1637,7 @@ let pythonPackages = python.modules // rec {
sha256 = "204aca8b42dbe90e460794d743dd16182011da85507bfd4f092f9f76e0688040";
};
buildInputs = [ pkgs.unzip pkgs.pyrex ];
buildInputs = [ pkgs.pyrex ];
propagatedBuildInputs = [ pkgs.libyaml ];
meta = {
@ -2117,8 +2113,6 @@ let pythonPackages = python.modules // rec {
md5 = "8e46dd755f6998d471bfbcb4def897ff";
};
buildInputs = [ pkgs.unzip ];
# The test requires "webtest", which is a cyclic dependency. (WTF?)
doCheck = false;