python311Packages.dask-image: 2023.8.1 -> 2024.5.1

Changelog: https://github.com/dask/dask-image/releases/tag/v2024.5.1
This commit is contained in:
Gaetan Lepage 2024-05-17 23:27:02 +02:00
parent 4dc4430675
commit f6663cf287

View File

@ -1,32 +1,42 @@
{ lib
, stdenv
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, setuptools-scm
, dask
, fetchPypi
, numpy
, scipy
, pandas
, pims
, pytestCheckHook
, pythonOlder
, scikit-image
, scipy
}:
buildPythonPackage rec {
pname = "dask-image";
version = "2023.8.1";
format = "setuptools";
version = "2024.5.1";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-XpqJhbBSehtZQsan50Tg5X0mTiIscFjwW664HDdNBLY=";
src = fetchFromGitHub {
owner = "dask";
repo = "dask-image";
rev = "refs/tags/v${version}";
hash = "sha256-BNjftLs/hle2EWkLBOT8r2nSOxKZzPixAE4fOfNSFIs=";
};
propagatedBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
dependencies = [
dask
numpy
scipy
pandas
pims
];
@ -35,19 +45,14 @@ buildPythonPackage rec {
scikit-image
];
postPatch = ''
substituteInPlace setup.cfg \
--replace "--flake8" ""
'';
pythonImportsCheck = [
"dask_image"
];
meta = with lib; {
meta = {
description = "Distributed image processing";
homepage = "https://github.com/dask/dask-image";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ ];
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ ];
};
}