python3Packages.ocrmypdf: set version manually

main
Fabian Affolter 3 years ago
parent 18e178040a
commit ac2a0f2757
  1. 6
      pkgs/development/python-modules/ocrmypdf/default.nix

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

Loading…
Cancel
Save