1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, pytestCheckHook 6, cython 7, numpy 8, scipy 9, matplotlib 10, networkx 11, nibabel 12}: 13 14buildPythonPackage rec { 15 pname = "nitime"; 16 version = "0.9"; 17 disabled = isPy27; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "sha256-bn2QrbsfqUJim84vH5tt5T6h3YsGAlgu9GCMiNQ0OHQ="; 22 }; 23 24 checkInputs = [ 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"; 35 description = "Algorithms and containers for time-series analysis in time and spectral domains"; 36 license = licenses.bsd3; 37 maintainers = [ maintainers.bcdarwin ]; 38 }; 39}