diff --git a/pkgs/development/python-modules/neo/default.nix b/pkgs/development/python-modules/neo/default.nix index b74e8c3a4df1..725aa1f5d99a 100644 --- a/pkgs/development/python-modules/neo/default.nix +++ b/pkgs/development/python-modules/neo/default.nix @@ -2,12 +2,14 @@ lib, buildPythonPackage, fetchPypi, - nose, numpy, packaging, quantities, pythonOlder, setuptools, + pytestCheckHook, + pillow, + which, }: buildPythonPackage rec { @@ -30,11 +32,16 @@ buildPythonPackage rec { quantities ]; - nativeCheckInputs = [ nose ]; + nativeCheckInputs = [ + pytestCheckHook + pillow + which + ]; - checkPhase = '' - nosetests --exclude=iotest - ''; + disabledTestPaths = [ + # Requires network and export HOME dir + "neo/test/rawiotest/test_maxwellrawio.py" + ]; pythonImportsCheck = [ "neo" ];