mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 20:23:39 +00:00
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:
parent
a62338c549
commit
7e757df663
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
|
||||||
# build-system
|
# build-system
|
||||||
, poetry-core
|
, poetry-core
|
||||||
@ -32,6 +33,14 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-bHsB1f7dbZW4k8JteyZOwVCgWRDZMu21XdMcjM5NYjk=";
|
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 = [
|
outputs = [
|
||||||
"out"
|
"out"
|
||||||
"doc"
|
"doc"
|
||||||
|
Loading…
Reference in New Issue
Block a user