1 { lib, python3Packages, fetchzip }:
3 python3Packages.buildPythonApplication {
8 url = "https://didierstevens.com/files/software/pdf-parser_V0_7_4.zip";
9 sha256 = "1j39yww2yl4cav8xgd4zfl5jchbbkvffnrynkamkzvz9dd5np2mh";
15 install -Dm555 pdf-parser.py $out/bin/pdf-parser.py
19 substituteInPlace $out/bin/pdf-parser.py \
20 --replace '/usr/bin/python' '${python3Packages.python}/bin/python'
24 description = "Parse a PDF document";
26 This tool will parse a PDF document to identify the fundamental elements used in the analyzed file.
27 It will not render a PDF document.
29 homepage = "https://blog.didierstevens.com/programs/pdf-tools/";
30 license = licenses.publicDomain;
31 maintainers = [ maintainers.lightdiscord ];
32 platforms = platforms.all;