Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / image-diff / default.nix
blobd120737c3ffcb3426cd8ece2fad080d7005d7136
1 { lib
2 , python
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     homepage = "https://github.com/simonw/image-diff";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ evils ];
38   };