python3.pkgs.flask-admin: pillow 10 compatibility

This commit is contained in:
Theodore Ni 2023-08-08 21:57:13 -07:00
parent 71d2dd203d
commit b36f430d02
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -6,6 +6,7 @@
, colour
, email-validator
, enum34
, fetchpatch
, fetchPypi
, flask
, flask-babelex
@ -39,6 +40,15 @@ buildPythonPackage rec {
hash = "sha256-JMrir4MramEaAdfcNfQtJmwdbHWkJrhp2MskG3gjM2k=";
};
patches = [
# https://github.com/flask-admin/flask-admin/pull/2374
(fetchpatch {
name = "pillow-10-compatibility.patch";
url = "https://github.com/flask-admin/flask-admin/commit/96b92deef8b087e86a9dc3e84381d254ea5c0342.patch";
hash = "sha256-iR5kxyeZaEyved5InZuPmcglTD77zW18/eSHGwOuW40=";
})
];
propagatedBuildInputs = [
flask
wtforms