53fa39940c
Diff: https://github.com/dask/dask-image/compare/v2024.5.3...v2025.11.0 Changelog: https://github.com/dask/dask-image/releases/tag/v2025.11.0
77 lines
1.4 KiB
Nix
77 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
setuptools-scm,
|
|
|
|
# dependencies
|
|
dask,
|
|
numpy,
|
|
scipy,
|
|
pandas,
|
|
pims,
|
|
|
|
# tests
|
|
pyarrow,
|
|
pytest-flake8,
|
|
pytestCheckHook,
|
|
scikit-image,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dask-image";
|
|
version = "2025.11.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dask";
|
|
repo = "dask-image";
|
|
tag = "v${version}";
|
|
hash = "sha256-+nzYthnobcemunMcAWwRpHOQy6yFtjdib/7VZqWEiqc=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
dask
|
|
numpy
|
|
scipy
|
|
pandas
|
|
pims
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pyarrow
|
|
pytest-flake8
|
|
pytestCheckHook
|
|
scikit-image
|
|
];
|
|
|
|
pythonImportsCheck = [ "dask_image" ];
|
|
|
|
disabledTests = [
|
|
# The following tests are from 'tests/test_dask_image/test_ndmeasure/test_find_objects.py' and
|
|
# fail because of errors on numpy slices
|
|
# AttributeError: 'str' object has no attribute 'start'
|
|
"test_find_objects"
|
|
"test_3d_find_objects"
|
|
|
|
# AssertionError (comparing slices)
|
|
"test_find_objects_with_empty_chunks"
|
|
];
|
|
|
|
meta = {
|
|
description = "Distributed image processing";
|
|
homepage = "https://github.com/dask/dask-image";
|
|
changelog = "https://github.com/dask/dask-image/releases/tag/v${version}";
|
|
license = lib.licenses.bsdOriginal;
|
|
maintainers = with lib.maintainers; [ GaetanLepage ];
|
|
};
|
|
}
|