3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
39 lines
730 B
Nix
39 lines
730 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, dask
|
|
, scipy
|
|
, pims
|
|
, scikitimage
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.6.0";
|
|
pname = "dask-image";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1zzxrvbm52xn7azkn74pjinlk0jkpdcyl3r5vxxy5lmjnmzlrrpy";
|
|
};
|
|
|
|
propagatedBuildInputs = [ dask scipy pims ];
|
|
|
|
prePatch = ''
|
|
substituteInPlace setup.cfg --replace "--flake8" ""
|
|
'';
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
scikitimage
|
|
];
|
|
|
|
pythonImportsCheck = [ "dask_image" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/dask/dask-image";
|
|
description = "Distributed image processing";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|