anchor.diff:  , fetchpatch
   , cups
   , python3Packages
  +, patchPpdFilesHook
   }:
   
   python3Packages.buildPythonApplication rec {
  
positive.code:     ln -vst "${placeholder "out"}/lib/cups/filter/" "${placeholder "out"}/bin/rastertosag-gdi"
      runHook postInstall
    '';
    postFixup = ''
      gzip -9nv "${placeholder "out"}/share/cups/model/rastertosag-gdi"/*.ppd
    '';
  
negative.code:     })
    ];
    format = "other";
    nativeBuildInputs = [ (lib.getBin cups) patchPpdFilesHook ];
    # The source image also brings pre-built ppd files,
    # but we prefer to generate from source where possible, so
    # the following line generates ppd files from the drv file.
  