f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
43 lines
842 B
Nix
43 lines
842 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
typing-extensions,
|
|
diffimg,
|
|
imgdiff,
|
|
pytestCheckHook,
|
|
recommonmark,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-image-diff";
|
|
version = "0.0.11";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Apkawa";
|
|
repo = "pytest-image-diff";
|
|
rev = "v${version}";
|
|
hash = "sha256-7GBwxm0YQNN/Gq1yyBIxCEYbM7hmOFa9kUsfbBKQtBQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
typing-extensions
|
|
diffimg
|
|
imgdiff
|
|
];
|
|
|
|
pythonImportsCheck = [ "pytest_image_diff" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
recommonmark
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Pytest helps for compare images and regression";
|
|
homepage = "https://github.com/Apkawa/pytest-image-diff";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ evils ];
|
|
};
|
|
}
|