{ buildPythonPackage, fetchPypi, setuptools, numpy, scikit-image, lib, opencv-python, }: buildPythonPackage rec { pname = "imagecorruptions"; version = "1.1.2"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-BE4XPyTVk0iZvb81lr++yRfoCD5Qfu1YOrIXq+u+CE0="; }; build-system = [ setuptools ]; dependencies = [ numpy scikit-image opencv-python ]; doCheck = false; pythonImportsCheck = [ "imagecorruptions" ]; meta = { homepage = "https://github.com/bethgelab/imagecorruptions"; description = "This package provides a set of image corruptions"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ rakesh4g ]; }; }