mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
python310Packages.pytest-image-diff: init at 0.0.11
This commit is contained in:
parent
fb88230473
commit
694ff068f7
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, python3
|
||||
, 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 ];
|
||||
};
|
||||
}
|
@ -9669,6 +9669,8 @@ self: super: with self; {
|
||||
|
||||
pytest-httpx = callPackage ../development/python-modules/pytest-httpx { };
|
||||
|
||||
pytest-image-diff = callPackage ../development/python-modules/pytest-image-diff { };
|
||||
|
||||
pytest-instafail = callPackage ../development/python-modules/pytest-instafail { };
|
||||
|
||||
pytest-isort = callPackage ../development/python-modules/pytest-isort { };
|
||||
|
Loading…
Reference in New Issue
Block a user