gnu: Add python-pixelmatch.

* gnu/packages/python-xyz.scm (python-pixelmatch): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Nicolas Graves 2022-12-23 19:32:59 +01:00 committed by Christopher Baines
parent f9abf24f24
commit 722073b151
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -7699,6 +7699,26 @@ (define-public python-pillow-simd
(description "This package is a fork of Pillow which adds support for SIMD (description "This package is a fork of Pillow which adds support for SIMD
parallelism."))) parallelism.")))
(define-public python-pixelmatch
(package
(name "python-pixelmatch")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pixelmatch" version))
(sha256
(base32 "16b0cz136dcmj4dbr505igpql8dmqmr9vni5nbaa5kygjfjkdynh"))))
(build-system python-build-system)
(native-inputs (list python-pillow))
(home-page "https://github.com/whtsky/pixelmatch-py")
(synopsis "A pixel-level image comparison library")
(description "This package provides a pixel-level image comparison library
for Python, originally created to compare screenshots in tests. Its features
include accurate anti-aliased pixels detection and perceptual color difference
metrics.")
(license license:isc)))
(define-public python-imagecodecs (define-public python-imagecodecs
(package (package
(name "python-imagecodecs") (name "python-imagecodecs")