saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / imgdiff / default.nix
blob6a168c965d6754358bf6636da4e4ffbcbf324deb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pillow,
6   mock,
7   unittestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "imgdiff";
12   version = "1.7.1";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "mgedmin";
17     repo = "imgdiff";
18     rev = version;
19     hash = "sha256-Y5nUnjihRpVVehhP1LUgfuJN5nCxEJu6P1w99Igpxjs=";
20   };
22   propagatedBuildInputs = [ pillow ];
24   pythonImportsCheck = [ "imgdiff" ];
26   nativeCheckInputs = [
27     mock
28     unittestCheckHook
29   ];
31   meta = with lib; {
32     description = "Compare two images side-by-side";
33     mainProgram = "imgdiff";
34     homepage = "https://github.com/mgedmin/imgdiff";
35     changelog = "https://github.com/mgedmin/imgdiff/blob/${src.rev}/CHANGES.rst";
36     license = licenses.mit;
37     maintainers = with maintainers; [ evils ];
38   };