2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-09-13 22:41:58 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, dask
|
|
|
|
, scipy
|
|
|
|
, pims
|
|
|
|
, scikitimage
|
2021-05-08 11:54:01 +02:00
|
|
|
, pytestCheckHook
|
2018-09-13 22:41:58 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-05-08 23:56:17 +02:00
|
|
|
version = "0.6.0";
|
2018-09-13 22:41:58 +02:00
|
|
|
pname = "dask-image";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-05-08 23:56:17 +02:00
|
|
|
sha256 = "1zzxrvbm52xn7azkn74pjinlk0jkpdcyl3r5vxxy5lmjnmzlrrpy";
|
2018-09-13 22:41:58 +02:00
|
|
|
};
|
|
|
|
|
2021-05-08 11:54:01 +02:00
|
|
|
propagatedBuildInputs = [ dask scipy pims ];
|
2020-08-07 23:45:29 +02:00
|
|
|
|
|
|
|
prePatch = ''
|
2021-05-08 11:54:01 +02:00
|
|
|
substituteInPlace setup.cfg --replace "--flake8" ""
|
2020-08-07 23:45:29 +02:00
|
|
|
'';
|
|
|
|
|
2021-05-08 11:54:01 +02:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
scikitimage
|
|
|
|
];
|
|
|
|
|
2021-02-15 23:49:08 +01:00
|
|
|
pythonImportsCheck = [ "dask_image" ];
|
2018-09-13 22:41:58 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/dask/dask-image";
|
2018-09-13 22:41:58 +02:00
|
|
|
description = "Distributed image processing";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|