ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pixelmatch / default.nix
blobe09f0b32ff20655879970fc683e4a42b4fc8813b
1 { lib
2 , buildPythonPackage
3 , fetchgit
4 , pillow
5 , poetry-core
6 , pytest-benchmark
7 , pytest-mypy
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "pixelmatch";
14   version = "0.2.3";
15   format = "pyproject";
17   disabled = pythonOlder "3.6";
19   # Test fixtures are stored in LFS
20   src = fetchgit {
21     url = "https://github.com/whtsky/pixelmatch-py";
22     rev = "v${version}";
23     hash = "sha256-/zRQhwz+HjT0Hs4CunsqHxHWEtoIH9qMBowRb0Pps6Y=";
24     fetchLFS = true;
25   };
27   nativeBuildInputs = [
28     poetry-core
29   ];
31   checkInputs = [
32     pillow
33     pytest-benchmark
34     pytest-mypy
35     pytestCheckHook
36   ];
38   pytestFlagsArray = [
39     # Incompatible types in assignment
40     #"--mypy"
41     "--benchmark-disable"
42   ];
44   pythonImportsCheck = [
45     "pixelmatch"
46   ];
48   meta = with lib; {
49     description = "Pixel-level image comparison library";
50     homepage = "https://github.com/whtsky/pixelmatch-py";
51     license = licenses.isc;
52     maintainers = with maintainers; [ ];
53   };