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

35 lines
717 B
Nix
Raw Normal View History

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