pdf-parser: 0.7.10 -> 0.7.14

This commit is contained in:
Cameron Brown
2026-05-23 14:11:35 -04:00
parent a4745de3fc
commit 4b677f0f8a
+2 -5
View File
@@ -7,22 +7,19 @@
python3Packages.buildPythonApplication (finalAttrs: {
pname = "pdf-parser";
version = "0.7.10";
version = "0.7.14";
pyproject = false;
src = fetchzip {
url = "https://didierstevens.com/files/software/pdf-parser_V${
lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version
}.zip";
hash = "sha256-RhgEGue3RcALjLXKOnnXyx/0subXHNuXfDg8hbO3VDg=";
hash = "sha256-oAmTzkBxwrXXSSimaN1Uo4wP+7ySrmyJNb9jD2uWglA=";
};
postPatch = ''
# quote regular expressions correctly
substituteInPlace pdf-parser.py \
--replace-fail \
"re.sub('" \
"re.sub(r'" \
--replace-fail \
"re.match('" \
"re.match(r'"