From e34ae363034e38dba69743a3cea1f5f7e7a3ed92 Mon Sep 17 00:00:00 2001 From: kuflierl <41301536+kuflierl@users.noreply.github.com> Date: Tue, 2 Sep 2025 01:09:53 +0200 Subject: [PATCH 1/2] python3Packages.pillow-heif: 0.22.0 -> 1.1.0 --- .../python-modules/pillow-heif/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pillow-heif/default.nix b/pkgs/development/python-modules/pillow-heif/default.nix index 55114a3c6672..1b8c62a22956 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.22.0"; + version = "1.1.0"; pyproject = true; src = fetchFromGitHub { owner = "bigcat88"; repo = "pillow_heif"; tag = "v${version}"; - hash = "sha256-xof6lFb0DhmWVmYuBNslcGZs82NRkcgZgt+SX9gsrBY="; + hash = "sha256-CY//orCEKBfgHF7lTTSMenDsvf9NOQo8iiQS3p9NMH8="; }; postPatch = '' @@ -74,17 +74,9 @@ 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 + # Time sensitive speed test, not reproducible "test_decode_threads" - # Missing EXIF info on WEBP-AVIF variant - "test_exif_from_pillow" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # https://github.com/bigcat88/pillow_heif/issues/89 From 63e444323a1bcef326e7a4a01d52522e6323f62a Mon Sep 17 00:00:00 2001 From: kuflierl <41301536+kuflierl@users.noreply.github.com> Date: Tue, 2 Sep 2025 01:10:23 +0200 Subject: [PATCH 2/2] python3Packages.pillow-heif: add maintainer kuflierl --- pkgs/development/python-modules/pillow-heif/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pillow-heif/default.nix b/pkgs/development/python-modules/pillow-heif/default.nix index 1b8c62a22956..e3f98b181195 100644 --- a/pkgs/development/python-modules/pillow-heif/default.nix +++ b/pkgs/development/python-modules/pillow-heif/default.nix @@ -102,6 +102,9 @@ buildPythonPackage rec { bsd3 lgpl3 ]; - maintainers = with lib.maintainers; [ dandellion ]; + maintainers = with lib.maintainers; [ + dandellion + kuflierl + ]; }; }