Files
nixpkgs/pkgs/development/python-modules/imagecorruptions/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
748 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
buildPythonPackage,
fetchPypi,
setuptools,
numpy,
scikit-image,
lib,
opencv-python,
}:
buildPythonPackage rec {
pname = "imagecorruptions";
version = "1.1.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "044e173f24d5934899bdbf3596bfbec917e8083e507eed583ab217abebbe084d";
};
build-system = [ setuptools ];
dependencies = [
numpy
scikit-image
opencv-python
];
doCheck = false;
pythonImportsCheck = [ "imagecorruptions" ];
meta = with lib; {
homepage = "https://github.com/bethgelab/imagecorruptions";
description = "This package provides a set of image corruptions";
license = licenses.asl20;
maintainers = with maintainers; [ rakesh4g ];
};
}