fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
41 lines
793 B
Nix
41 lines
793 B
Nix
{
|
|
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";
|
|
mainProgram = "image-diff";
|
|
homepage = "https://github.com/simonw/image-diff";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ evils ];
|
|
};
|
|
}
|