Skip to content

Commit

Permalink
Merge pull request nix-community#1276 from jhh/build-systems-pillow-heif
Browse files Browse the repository at this point in the history
overrides: add pillow-heif
  • Loading branch information
adisbladis authored Aug 22, 2023
2 parents 27a3bc5 + a239a4c commit 0cd5da3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -11480,6 +11480,9 @@
"pillow": [
"setuptools"
],
"pillow-heif": [
"setuptools"
],
"pillow-simd": [
"setuptools"
],
Expand Down
8 changes: 8 additions & 0 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 0cd5da3

Please sign in to comment.