Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-image-diff / default.nix
blobcbe607d0648ea990a7d1692f3ecd84f84bc7bc3b
1 { lib
2 , python3
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   };