diff --git a/pkgs/development/python-modules/pillow-heif/default.nix b/pkgs/development/python-modules/pillow-heif/default.nix index 947dc7dd6b0e..efbed828409e 100644 --- a/pkgs/development/python-modules/pillow-heif/default.nix +++ b/pkgs/development/python-modules/pillow-heif/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "pillow-heif"; - version = "0.20.0"; + version = "0.21.0"; pyproject = true; src = fetchFromGitHub { owner = "bigcat88"; repo = "pillow_heif"; tag = "v${version}"; - hash = "sha256-a1qCxI+mMuEYsCk2CUYGNKCe+SONuvVizqUvmQKy3sE="; + hash = "sha256-wmxfFapcd7vduR4tQ3grAhqS35GsNvYA/mCFscQ3aDs="; }; postPatch = '' @@ -74,6 +74,12 @@ buildPythonPackage rec { pytestCheckHook ]; + preCheck = '' + # https://github.com/bigcat88/pillow_heif/issues/325 + rm tests/images/heif_other/L_xmp_latin1.heic + rm tests/images/heif/L_xmp.heif + ''; + disabledTests = [ # Time based @@ -96,7 +102,7 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/bigcat88/pillow_heif/releases/tag/v${version}"; + changelog = "https://github.com/bigcat88/pillow_heif/releases/tag/${src.tag}"; description = "Python library for working with HEIF images and plugin for Pillow"; homepage = "https://github.com/bigcat88/pillow_heif"; license = with lib.licenses; [