mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
pdf-parser: 0.7.10 -> 0.7.14 (#521280)
This commit is contained in:
commit
6c252ba5b1
2 changed files with 3 additions and 12 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue