beets: fix compat with pillow 10.0

This commit is contained in:
Martin Weinelt 2023-08-05 17:20:07 +02:00
parent 6458cb74a2
commit ce181b4dd0
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -52,6 +52,12 @@ python3Packages.buildPythonApplication {
patches = extraPatches;
postPatch = ''
# https://github.com/beetbox/beets/pull/4868
substituteInPlace beets/util/artresizer.py \
--replace "Image.ANTIALIAS" "Image.Resampling.LANCZOS"
'';
propagatedBuildInputs = with python3Packages; [
confuse
gst-python