Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
58 lines
1014 B
Nix
58 lines
1014 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
pytestCheckHook,
|
|
cython,
|
|
setuptools,
|
|
setuptools-scm,
|
|
wheel,
|
|
numpy,
|
|
scipy,
|
|
matplotlib,
|
|
networkx,
|
|
nibabel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nitime";
|
|
version = "0.11";
|
|
disabled = pythonOlder "3.7";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-4Ie8fuk9CKdn/64TsCfN2No2dU16ICpBRWYerqqF0/0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cython
|
|
setuptools
|
|
setuptools-scm
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
scipy
|
|
matplotlib
|
|
networkx
|
|
nibabel
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
doCheck = !stdenv.hostPlatform.isDarwin; # tests hang indefinitely
|
|
|
|
pythonImportsCheck = [ "nitime" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|