python310Packages.dateparser: patch ReDoS

This commit is contained in:
Robert Schütz
2023-01-23 18:50:43 -08:00
parent 48bd2d0ebf
commit 7ad3c78cf0

View File

@@ -34,6 +34,11 @@ buildPythonPackage rec {
patches = [
./regex-compat.patch
(fetchpatch {
name = "prevent-redos-in-spanish-sentence-splitting-regex.patch";
url = "https://github.com/scrapinghub/dateparser/pull/1084.patch";
hash = "sha256-5dJ4TnrM0Eq9W02GWOTEpRnZzk1QzNQEc7JbEPfDVgY=";
})
];
postPatch = ''