biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / image-diff / default.nix
blob1b64799cb0af70012e2641dc0b3b1e1ceb2e0783
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pillow,
6   click,
7   click-default-group,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "image-diff";
13   version = "0.2.2";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "simonw";
18     repo = "image-diff";
19     rev = version;
20     hash = "sha256-AQykJNvBgVjmPVTwJOX17eKWelqvZZieq/giid8GYAY=";
21   };
23   propagatedBuildInputs = [
24     pillow
25     click
26     click-default-group
27   ];
29   pythonImportsCheck = [ "image_diff" ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   meta = with lib; {
34     description = "CLI tool for comparing images";
35     mainProgram = "image-diff";
36     homepage = "https://github.com/simonw/image-diff";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ evils ];
39   };