python313Packages.flask-babel: fix tests on darwin

Changed files
+10
pkgs
development
python-modules
flask-babel
+10
pkgs/development/python-modules/flask-babel/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
+
fetchpatch,
# build-system
poetry-core,
···
outputs = [
"out"
"doc"
+
];
+
+
patches = [
+
# Fix list-translations() ordering in tests
+
# https://github.com/python-babel/flask-babel/pull/242
+
(fetchpatch {
+
url = "https://github.com/python-babel/flask-babel/pull/242/commits/999735d825ee2f94701da29bcf819ad70ee03499.patch";
+
hash = "sha256-vhP/aSWaWpy1sVOJAcrLHJN/yrB+McWO9pkXDI9GeQ4=";
+
})
];
nativeBuildInputs = [