Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 813 B view raw
1{ lib 2, buildPythonPackage 3, python 4, fetchPypi 5, pytest 6, cython 7, numpy 8, scipy 9, matplotlib 10, networkx 11, nibabel 12}: 13 14buildPythonPackage rec { 15 pname = "nitime"; 16 version = "0.8.1"; 17 disabled = python.pythonVersion != "3.7"; # gcc error when running Cython with Python 3.8 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "0hb3x5196z2zaawb8s7lhja0vd3n983ncaynqfl9qg315x9ax7i6"; 22 }; 23 24 checkInputs = [ pytest ]; 25 buildInputs = [ cython ]; 26 propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ]; 27 28 checkPhase = "pytest nitime/tests"; 29 30 meta = with lib; { 31 homepage = "https://nipy.org/nitime"; 32 description = "Algorithms and containers for time-series analysis in time and spectral domains"; 33 license = licenses.bsd3; 34 maintainers = [ maintainers.bcdarwin ]; 35 }; 36}