Skip to content

Commit

Permalink
FIXUP
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Oct 25, 2017
1 parent 546ac4b commit 507c201
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/asana/default.nix
Expand Up @@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "eab8d24c2a4670b541b75da2f4bf5b995fe71559c1338da53ce9039f7b19c9a0";
};

buildInputs = [ pytest ];
checkInputs = [ pytest ];
propagatedBuildInputs = [ requests requests_oauthlib six ];

patchPhase = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/matplotlib/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, buildPythonPackage, pycairo
{ stdenv, fetchurl, python, buildPythonPackage, pycairo, backports_functools_lru_cache
, which, cycler, dateutil, nose, numpy, pyparsing, sphinx, tornado
, freetype, libpng, pkgconfig, mock, pytz, pygobject3, functools32, subprocess32
, enableGhostscript ? false, ghostscript ? null, gtk3
Expand Down Expand Up @@ -39,7 +39,7 @@ buildPythonPackage rec {

propagatedBuildInputs =
[ cycler dateutil nose numpy pyparsing tornado freetype
libpng pkgconfig mock pytz
libpng pkgconfig mock pytz backports_functools_lru_cache
]
++ stdenv.lib.optional enableGtk2 pygtk
++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobjectIntrospection pygobject3 ]
Expand Down
6 changes: 4 additions & 2 deletions pkgs/development/python-modules/pip-tools/default.nix
@@ -1,4 +1,6 @@
{ stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first, setuptools_scm, glibcLocales }:
{ stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first
, setuptools_scm, glibcLocales, mock }:

buildPythonPackage rec {
pname = "pip-tools";
version = "1.10.1";
Expand All @@ -10,7 +12,7 @@ buildPythonPackage rec {
};

LC_ALL = "en_US.UTF-8";
buildInputs = [ pytest glibcLocales ];
checkInputs = [ pytest glibcLocales mock ];
propagatedBuildInputs = [ pip click six first setuptools_scm ];

checkPhase = ''
Expand Down
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/scipy/default.nix
@@ -1,4 +1,4 @@
{lib, fetchurl, python, buildPythonPackage, isPyPy, gfortran, nose, numpy}:
{lib, fetchurl, python, buildPythonPackage, isPyPy, gfortran, nose, pytest, numpy}:

buildPythonPackage rec {
pname = "scipy";
Expand All @@ -10,7 +10,8 @@ buildPythonPackage rec {
sha256 = "87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10";
};

buildInputs = [ gfortran nose numpy.blas ];
checkInputs = [ nose pytest ];
buildInputs = [ gfortran numpy.blas ];
propagatedBuildInputs = [ numpy ];

# Remove tests because of broken wrapper
Expand Down
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/zeep/default.nix
Expand Up @@ -20,6 +20,7 @@
, pytestcov
, requests-mock
, testtools
, tornado
}:

let
Expand Down Expand Up @@ -47,6 +48,10 @@ in buildPythonPackage {
# testtools dependency not supported for py3k
doCheck = !isPy3k;

checkInputs = [
tornado
];

buildInputs = if isPy3k then [] else [
freezegun
mock
Expand Down

0 comments on commit 507c201

Please sign in to comment.