|
|
|
@ -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"; |
|
|
|
|