anchor.diff:      install -Dm644 plugin.xml $out/share/java/
       install -Dm644 build/jameica-icon.png $out/share/pixmaps/jameica.png
       cp ${desktopItem}/share/applications/* $out/share/applications/
  +  '';
   
  +  postFixup = ''
       makeWrapper ${jre}/bin/java $out/bin/jameica \
         --add-flags "-cp $out/share/java/jameica.jar:$out/share/jameica-${version}/* ${
           lib.optionalString stdenv.isDarwin ''-Xdock:name="Jameica" -XstartOnFirstThread''
         } de.willuhn.jameica.Main" \
         --prefix LD_LIBRARY_PATH : ${lib.escapeShellArg (lib.makeLibraryPath buildInputs)} \
  -      --chdir "$out/share/java/"
  +      --chdir "$out/share/java/" \
  +      "''${gappsWrapperArgs[@]}"
     '';
   
     meta = with lib; {
  
positive.code:     '';
      sourceProvenance = with sourceTypes; [
        fromSource
        binaryBytecode  # source bundles dependencies as jars
      ];
      license = licenses.gpl2Plus;
      platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
  
negative.code:     rev = "V_${builtins.replaceStrings ["."] ["_"] _version}_BUILD_${_build}";
      sha256 = "1x9sybknzsfxp9z0pvw9dx80732ynyap57y03p7xwwjbcrnjla57";
    };
  
    dontWrapGApps = true;
  
    # there is also a build.gradle, but it only seems to be used to vendor 3rd party libraries
    # and is not able to build the application itself
  