Files
nixpkgs/pkgs/development/python-modules/nitime/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

58 lines
1012 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 = {
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 ];
};
}