depot/third_party/nixpkgs/pkgs/development/python-modules/dask-image/default.nix
Default email 646c172193 Project import generated by Copybara.
GitOrigin-RevId: c478eaf416411a7dedf773185b6d5bfc966a80ae
2021-12-21 10:18:32 +08:00

39 lines
746 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, dask
, scipy
, pims
, scikitimage
, pytestCheckHook
}:
buildPythonPackage rec {
version = "2021.12.0";
pname = "dask-image";
src = fetchPypi {
inherit pname version;
sha256 = "35be49626bd01c3e3892128126a27d5ee3266a198a8e3c7e30d59eaef712fcf9";
};
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 ];
};
}