blockdiag: support pillow 10

This commit is contained in:
Theodore Ni 2023-08-05 10:50:19 -07:00
parent 0542af4e29
commit 130967704f
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, docutils
, fetchFromGitHub
, fetchpatch
, funcparserlib
, nose
, pillow
@ -28,6 +29,15 @@ buildPythonPackage rec {
hash = "sha256-j8FoNUIJJOaahaol1MRPyY2jcPCEIlaAD4bmM2QKFFI=";
};
patches = [
# https://github.com/blockdiag/blockdiag/pull/179
(fetchpatch {
name = "pillow-10-compatibility.patch";
url = "https://github.com/blockdiag/blockdiag/commit/20d780cad84e7b010066cb55f848477957870165.patch";
hash = "sha256-t1zWFzAsLL2EUa0nD4Eui4Y5AhAZLRmp/yC9QpzzeUA=";
})
];
propagatedBuildInputs = [
setuptools
funcparserlib