From d389e50971b209e0fe90f78be0597114e1f33fa9 Mon Sep 17 00:00:00 2001 From: Jeff Hutchison Date: Tue, 22 Aug 2023 05:41:10 -0400 Subject: [PATCH 1/2] Add pillow-heif --- overrides/build-systems.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/overrides/build-systems.json b/overrides/build-systems.json index f5beb0062..fab9e097c 100644 --- a/overrides/build-systems.json +++ b/overrides/build-systems.json @@ -11480,6 +11480,9 @@ "pillow": [ "setuptools" ], + "pillow-heif": [ + "setuptools" + ], "pillow-simd": [ "setuptools" ], From a239a4c2850457681904fbd87f3ce0c42496f4c8 Mon Sep 17 00:00:00 2001 From: Jeff Hutchison Date: Tue, 22 Aug 2023 05:51:28 -0400 Subject: [PATCH 2/2] Add libheif build input for pillow-heif --- overrides/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/overrides/default.nix b/overrides/default.nix index e1e59063e..47e1a261f 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -1753,6 +1753,14 @@ lib.composeManyExtensions [ } ); + pillow-heif = super.pillow-heif.overridePythonAttrs ( + old: { + buildInputs = with pkgs; (old.buildInputs or [ ]) ++ [ + libheif + ]; + } + ); + pip-requirements-parser = super.pip-requirements-parser.overridePythonAttrs (old: { dontConfigure = true; });