2020-02-26 18:01:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, python
|
|
|
|
, fetchPypi
|
2021-01-04 16:58:49 +00:00
|
|
|
, isPy27
|
2021-01-04 12:56:38 +00:00
|
|
|
, pytestCheckHook
|
2020-02-26 18:01:03 +00:00
|
|
|
, cython
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, matplotlib
|
|
|
|
, networkx
|
|
|
|
, nibabel
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nitime";
|
2021-01-04 16:58:49 +00:00
|
|
|
version = "0.9";
|
|
|
|
disabled = isPy27;
|
2020-02-26 18:01:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-04 16:58:49 +00:00
|
|
|
sha256 = "sha256-bn2QrbsfqUJim84vH5tt5T6h3YsGAlgu9GCMiNQ0OHQ=";
|
2020-02-26 18:01:03 +00:00
|
|
|
};
|
|
|
|
|
2021-01-04 16:58:49 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2020-02-26 18:01:03 +00:00
|
|
|
buildInputs = [ cython ];
|
|
|
|
propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-07 19:13:07 +01:00
|
|
|
homepage = "https://nipy.org/nitime";
|
2020-02-26 18:01:03 +00:00
|
|
|
description = "Algorithms and containers for time-series analysis in time and spectral domains";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|