075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
56 lines
961 B
Nix
56 lines
961 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
cython,
|
|
setuptools,
|
|
setuptools-scm,
|
|
wheel,
|
|
numpy,
|
|
scipy,
|
|
matplotlib,
|
|
networkx,
|
|
nibabel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nitime";
|
|
version = "0.11";
|
|
pyproject = true;
|
|
|
|
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 = {
|
|
homepage = "https://nipy.org/nitime";
|
|
description = "Algorithms and containers for time-series analysis in time and spectral domains";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.bcdarwin ];
|
|
};
|
|
}
|