mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
36 lines
726 B
Nix
36 lines
726 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, python
|
|
, fetchPypi
|
|
, isPy27
|
|
, pytestCheckHook
|
|
, cython
|
|
, numpy
|
|
, scipy
|
|
, matplotlib
|
|
, networkx
|
|
, nibabel
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nitime";
|
|
version = "0.9";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-bn2QrbsfqUJim84vH5tt5T6h3YsGAlgu9GCMiNQ0OHQ=";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
buildInputs = [ cython ];
|
|
propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://nipy.org/nitime";
|
|
description = "Algorithms and containers for time-series analysis in time and spectral domains";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
};
|
|
}
|