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 meta = with lib; {
29 homepage = "https://nipy.org/nitime";
30 description = "Algorithms and containers for time-series analysis in time and spectral domains";
31 license = licenses.bsd3;
32 maintainers = [ maintainers.bcdarwin ];
33 };
34}