python3Packages.flask-babel: 3.0.1 -> 3.1.0

https://github.com/python-babel/flask-babel/releases/tag/v3.1.0
This fixes build after .pytz update from PR #223278
https://hydra.nixos.org/log/wm3q4k49xrw96q7c1ly1pry53k0sbclx-python3.10-flask-babel-3.0.1.drv

The patch was also included in this release.
This commit is contained in:
Vladimír Čunát 2023-04-09 08:39:54 +02:00
parent fc0616b73d
commit 3f76f631c5
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -23,24 +23,16 @@
buildPythonPackage rec {
pname = "flask-babel";
version = "3.0.1";
version = "3.1.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "python-babel";
repo = "flask-babel";
rev = "refs/tags/v${version}";
hash = "sha256-bHsB1f7dbZW4k8JteyZOwVCgWRDZMu21XdMcjM5NYjk=";
hash = "sha256-KoTHBrGD6M3rkXoxUadRXhroRUbWKaL/rE6Rd2mxw4c=";
};
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"