Merge pull request #214665 from dotlambda/img2pdf-fix

python310Packages.img2pdf: skip failing tests
This commit is contained in:
Robert Schütz
2023-02-04 21:06:59 -08:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
@@ -30,6 +30,7 @@
, Foundation
, testers
, imagemagick
, python3
}:
assert libXtSupport -> libX11Support;
@@ -122,8 +123,10 @@ stdenv.mkDerivation rec {
done
'';
passthru.tests.version =
testers.testVersion { package = imagemagick; };
passthru.tests = {
version = testers.testVersion { package = imagemagick; };
inherit (python3.pkgs) img2pdf;
};
meta = with lib; {
homepage = "http://www.imagemagick.org/";
@@ -61,6 +61,7 @@ buildPythonPackage rec {
disabledTests = [
"test_tiff_rgb"
"test_png_gray1" # https://gitlab.mister-muffin.de/josch/img2pdf/issues/154
];
pythonImportsCheck = [ "img2pdf" ];