anchor.diff:    ];
   
     nativeBuildInputs = [
  -    setuptools-scm-git-archive
  +    setuptools
       setuptools-scm
       installShellFiles
     ];
   
     propagatedBuildInputs = [
       coloredlogs
  +    deprecation
       img2pdf
  +    packaging
       pdfminer-six
       pikepdf
       pillow
       pluggy
       reportlab
       tqdm
  -  ] ++ (lib.optionals (pythonOlder "3.8") [
  -    importlib-metadata
  -  ]) ++ (lib.optionals (pythonOlder "3.9") [
  +  ] ++ lib.optionals (pythonOlder "3.9") [
       importlib-resources
  -  ]);
  +  ] ++ lib.optionals (pythonOlder "3.10") [
  +    typing-extensions
  +  ];
   
     checkInputs = [
       pytest-xdist
  
positive.code: , pytestCheckHook
  , pythonOlder
  , reportlab
  , setuptools-scm
  , setuptools-scm-git-archive
  , substituteAll
  , tesseract
  , tqdm
  , unpaper
  , installShellFiles
  }:
  
  buildPythonPackage rec {
    pname = "ocrmypdf";
    version = "13.7.0";
  
    src = fetchFromGitHub {
      owner = "ocrmypdf";
  
negative.code:     postFetch = ''
        rm "$out/.git_archival.txt"
      '';
      hash = "sha256-eYn24FkAXj/ESCoC0QaLY+wRhkxZP1KnuY4VU1WiG24=";
    };
  
    SETUPTOOLS_SCM_PRETEND_VERSION = version;
  