Commit 37ace213 authored by Evils's avatar Evils
Browse files

python310Packages.image-diff: init at 0.2.2

parent 1c9db971
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{ lib
, python
, buildPythonPackage
, fetchFromGitHub
, pillow
, click
, click-default-group
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "image-diff";
  version = "0.2.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "simonw";
    repo = "image-diff";
    rev = version;
    hash = "sha256-AQykJNvBgVjmPVTwJOX17eKWelqvZZieq/giid8GYAY=";
  };

  propagatedBuildInputs = [
    pillow
    click
    click-default-group
  ];

  pythonImportsCheck = [ "image_diff" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "CLI tool for comparing images";
    homepage = "https://github.com/simonw/image-diff";
    license = licenses.asl20;
    maintainers = with maintainers; [ evils ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4865,6 +4865,8 @@ self: super: with self; {

  imageio-ffmpeg = callPackage ../development/python-modules/imageio-ffmpeg { };

  image-diff = callPackage ../development/python-modules/image-diff { };

  image-go-nord = callPackage ../development/python-modules/image-go-nord { };

  imagesize = callPackage ../development/python-modules/imagesize { };