9 buildPythonPackage rec {
10 pname = "imagecorruptions";
14 inherit pname version;
15 sha256 = "044e173f24d5934899bdbf3596bfbec917e8083e507eed583ab217abebbe084d";
19 substituteInPlace setup.py \
20 --replace "'opencv-python >= 3.4.5'," ""
23 propagatedBuildInputs = [
30 pythonImportsCheck = [ "imagecorruptions" ];
33 homepage = "https://github.com/bethgelab/imagecorruptions";
34 description = "This package provides a set of image corruptions";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ rakesh4g ];