anchor.diff:      ln -vst "${placeholder "out"}/lib/cups/filter/" "${placeholder "out"}/bin/rastertosag-gdi"
       runHook postInstall
     '';
  +  ppdFileCommands = [ "rastertosag-gdi" ];
     postFixup = ''
       gzip -9nv "${placeholder "out"}/share/cups/model/rastertosag-gdi"/*.ppd
     '';
  
positive.code: , fetchpatch
  , cups
  , python3Packages
  }:
  
  python3Packages.buildPythonApplication rec {
  
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.
  