Merge pull request #224861 from bcdarwin/nitime-maintenance

python310Packages.nitime: minor maintenance

authored by

Weijia Wang and committed by
GitHub
6057bb42 4da8ffc9

+8 -8
+8 -8
pkgs/development/python-modules/nitime/default.nix
··· 1 - { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , isPy27 5 , pytestCheckHook 6 , cython 7 , numpy ··· 14 buildPythonPackage rec { 15 pname = "nitime"; 16 version = "0.10.1"; 17 - disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-NnoVrSt6MTTcNup1e+/1v5JoHCYcycuQH4rHLzXJt+Y="; 22 }; 23 24 - nativeCheckInputs = [ pytestCheckHook ]; 25 buildInputs = [ cython ]; 26 propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ]; 27 28 - disabledTests = [ 29 - # https://github.com/nipy/nitime/issues/197 30 - "test_FilterAnalyzer" 31 - ]; 32 33 meta = with lib; { 34 homepage = "https://nipy.org/nitime";
··· 1 + { stdenv 2 + , lib 3 , buildPythonPackage 4 , fetchPypi 5 + , pythonOlder 6 , pytestCheckHook 7 , cython 8 , numpy ··· 15 buildPythonPackage rec { 16 pname = "nitime"; 17 version = "0.10.1"; 18 + disabled = pythonOlder "3.7"; 19 + format = "pyproject"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-NnoVrSt6MTTcNup1e+/1v5JoHCYcycuQH4rHLzXJt+Y="; 24 }; 25 26 buildInputs = [ cython ]; 27 propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ]; 28 29 + nativeCheckInputs = [ pytestCheckHook ]; 30 + doCheck = !stdenv.isDarwin; # tests hang indefinitely 31 + pythonImportsCheck = [ "nitime" ]; 32 33 meta = with lib; { 34 homepage = "https://nipy.org/nitime";