python310Packages.flask-babel: fix build against babel 12.2.X

see https://github.com/python-babel/flask-babel/issues/221
and https://github.com/python-babel/flask-babel/pull/222
This commit is contained in:
Sandro Jäckel 2023-03-02 00:11:11 +01:00 committed by Martin Weinelt
parent a62338c549
commit 7e757df663

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
# build-system
, poetry-core
@ -32,6 +33,14 @@ buildPythonPackage rec {
hash = "sha256-bHsB1f7dbZW4k8JteyZOwVCgWRDZMu21XdMcjM5NYjk=";
};
patches = [
(fetchpatch {
# https://github.com/python-babel/flask-babel/pull/222
url = "https://github.com/python-babel/flask-babel/commit/756cace7d96e9eacef66813c8df653d2bb349da0.patch";
hash = "sha256-hp/QPS/ZyRMUnyqU+fvMJKPISBECc9kqdCu8U6Hnd5g=";
})
];
outputs = [
"out"
"doc"