1{ lib
2, buildPythonPackage
3, python
4, fetchPypi
5, isPy27
6, pytestCheckHook
7, cython
8, numpy
9, scipy
10, matplotlib
11, networkx
12, nibabel
13}:
14
15buildPythonPackage rec {
16 pname = "nitime";
17 version = "0.9";
18 disabled = isPy27;
19
20 src = fetchPypi {
21 inherit pname version;
22 sha256 = "sha256-bn2QrbsfqUJim84vH5tt5T6h3YsGAlgu9GCMiNQ0OHQ=";
23 };
24
25 checkInputs = [ pytestCheckHook ];
26 buildInputs = [ cython ];
27 propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
28
29 meta = with lib; {
30 homepage = "https://nipy.org/nitime";
31 description = "Algorithms and containers for time-series analysis in time and spectral domains";
32 license = licenses.bsd3;
33 maintainers = [ maintainers.bcdarwin ];
34 };
35}