3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #140318 from fabaff/fix-ocrmypdf

This commit is contained in:
Sandro 2021-10-03 01:16:03 +02:00 committed by GitHub
commit c94bb53f78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,8 @@ buildPythonPackage rec {
sha256 = "sha256-g80WedX+TGHE9EJ/RSgOc53PM17V3WZslUNaHoqKTo0=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
patches = [
(substituteAll {
src = ./paths.patch;
@ -73,6 +75,10 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"ocrmypdf"
];
meta = with lib; {
homepage = "https://github.com/jbarlow83/OCRmyPDF";
description = "Adds an OCR text layer to scanned PDF files, allowing them to be searched";