anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pytest-image-diff / default.nix
blob59b32c8f1172972ab4f932d985bab265c5d7899a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   typing-extensions,
6   diffimg,
7   imgdiff,
8   pytestCheckHook,
9   recommonmark,
12 buildPythonPackage rec {
13   pname = "pytest-image-diff";
14   version = "0.0.11";
15   format = "setuptools";
17   src = fetchFromGitHub {
18     owner = "Apkawa";
19     repo = "pytest-image-diff";
20     rev = "v${version}";
21     hash = "sha256-7GBwxm0YQNN/Gq1yyBIxCEYbM7hmOFa9kUsfbBKQtBQ=";
22   };
24   propagatedBuildInputs = [
25     typing-extensions
26     diffimg
27     imgdiff
28   ];
30   pythonImportsCheck = [ "pytest_image_diff" ];
32   nativeCheckInputs = [
33     pytestCheckHook
34     recommonmark
35   ];
37   meta = with lib; {
38     description = "Pytest helps for compare images and regression";
39     homepage = "https://github.com/Apkawa/pytest-image-diff";
40     license = licenses.mit;
41     maintainers = with maintainers; [ evils ];
42   };