pdf-parser: 0.7.10 -> 0.7.14 (#521280)

This commit is contained in:
Sandro 2026-05-25 22:16:54 +00:00 committed by GitHub
commit 6c252ba5b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 12 deletions

View file

@ -15601,12 +15601,6 @@
githubId = 4312404;
name = "Chris Rendle-Short";
};
lightdiscord = {
email = "root@arnaud.sh";
github = "lightdiscord";
githubId = 24509182;
name = "Arnaud Pascal";
};
lightquantum = {
email = "self@lightquantum.me";
github = "PhotonQuantum";

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'"
@ -57,7 +54,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
'';
homepage = "https://blog.didierstevens.com/programs/pdf-tools/";
license = lib.licenses.publicDomain;
maintainers = [ lib.maintainers.lightdiscord ];
maintainers = with lib.maintainers; [ cbrxyz ];
platforms = lib.platforms.all;
mainProgram = "pdf-parser.py";
};