anchor.diff:  
     postPatch = ''
       substituteInPlace src/ocrmypdf/leptonica.py \
  -      --replace "ffi.dlopen(find_library('lept'))" \
  -      'ffi.dlopen("${stdenv.lib.makeLibraryPath [leptonica]}/liblept${stdenv.hostPlatform.extensions.sharedLibrary}")'
  +      --replace "lept = ffi.dlopen(_libpath)" \
  +      'lept = ffi.dlopen("${stdenv.lib.makeLibraryPath [leptonica]}/liblept${stdenv.hostPlatform.extensions.sharedLibrary}")'
     '';
   
     # The tests take potentially 20+ minutes, depending on machine
  
positive.code:     pikepdf
      pillow
      reportlab
      ruffus
      setuptools
      tqdm
    ];
  
negative.code: 
  in buildPythonApplication rec {
    pname = "ocrmypdf";
    version = "9.2.0";
    disabled = ! python3Packages.isPy3k;
  
    src = fetchFromGitHub {
      owner = "jbarlow83";
      repo = "OCRmyPDF";
      rev = "v${version}";
      sha256 = "1mvc6x5nn242z65pxv39ch71vaikgi89bb0sjbfy2jbw91vk41xa";
    };
  
    nativeBuildInputs = with python3Packages; [
  