nixpkgs/pkgs/development/python-modules/nitime/default.nix

36 lines
726 B
Nix
Raw Normal View History

2020-02-26 18:01:03 +00:00
{ lib
, buildPythonPackage
, python
, fetchPypi
2021-01-04 16:58:49 +00:00
, isPy27
, 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; {
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 ];
};
}