mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
python310Packages.dateparser: patch ReDoS
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user