depot/third_party/nixpkgs/pkgs/development/python-modules/dask-image/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

57 lines
946 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
setuptools-scm,
dask,
numpy,
scipy,
pandas,
pims,
pytestCheckHook,
scikit-image,
}:
buildPythonPackage rec {
pname = "dask-image";
version = "2024.5.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "dask";
repo = "dask-image";
rev = "refs/tags/v${version}";
hash = "sha256-kXCAqJ2Zgo/2Khvo2YcK+n4oGM219GyQ2Hsq9re1Lac=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
dask
numpy
scipy
pandas
pims
];
nativeCheckInputs = [
pytestCheckHook
scikit-image
];
pythonImportsCheck = [ "dask_image" ];
meta = {
description = "Distributed image processing";
homepage = "https://github.com/dask/dask-image";
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}