python3Packages.flask-limiter: fix building with latest rich

Changed files
+9
pkgs
development
python-modules
flask-limiter
+9
pkgs/development/python-modules/flask-limiter/default.nix
···
asgiref,
buildPythonPackage,
fetchFromGitHub,
+
fetchpatch,
flask,
hiro,
limits,
···
tag = version;
hash = "sha256-3GFbLQExd4c3Cyr7UDX/zOAfedOluXMwCbBhOgoKfn0=";
};
+
+
patches = [
+
# permit use of rich < 15 -- remove when updating past 3.12
+
(fetchpatch {
+
url = "https://github.com/alisaifee/flask-limiter/commit/008a5c89f249e18e5375f16d79efc3ac518e9bcc.patch";
+
hash = "sha256-dvTPVnuPs7xCRfUBBA1bgeWGuevFUZ+Kgl9MBHdgfKU=";
+
})
+
];
postPatch = ''
# flask-restful is unmaintained and breaks regularly, don't depend on it