python310Packages.imgdiff: init at 1.7.1

This commit is contained in:
Evils
2023-06-27 05:10:11 +02:00
parent c77696250b
commit fb88230473
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pillow
, mock
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "imgdiff";
version = "1.7.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "mgedmin";
repo = "imgdiff";
rev = version;
hash = "sha256-Y5nUnjihRpVVehhP1LUgfuJN5nCxEJu6P1w99Igpxjs=";
};
propagatedBuildInputs = [
pillow
];
pythonImportsCheck = [ "imgdiff" ];
nativeCheckInputs = [
mock
unittestCheckHook
];
meta = with lib; {
description = "Compare two images side-by-side";
homepage = "https://github.com/mgedmin/imgdiff";
changelog = "https://github.com/mgedmin/imgdiff/blob/${src.rev}/CHANGES.rst";
license = licenses.mit;
maintainers = with maintainers; [ evils ];
};
}
+2
View File
@@ -4887,6 +4887,8 @@ self: super: with self; {
imgaug = callPackage ../development/python-modules/imgaug { };
imgdiff = callPackage ../development/python-modules/imgdiff { };
imgsize = callPackage ../development/python-modules/imgsize { };
iminuit = callPackage ../development/python-modules/iminuit { };