mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
39 lines
731 B
Nix
39 lines
731 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|