anchor.diff:  
     meta = with stdenv.lib; {
       homepage = https://www.willuhn.de/products/jameica/;
  -    description = "Free Runtime Environment for Java Applications.";
  +    description = "Free Runtime Environment for Java Applications";
       longDescription = ''
         Runtime Environment for plugins like Hibiscus (HBCI Online Banking),
         SynTAX (accounting) and JVerein (club management).
  
positive.code:     owner = "willuhn";
      repo = "jameica";
      rev = "V_${builtins.replaceStrings ["."] ["_"] _version}_BUILD_${_build}";
      sha256 = "1w25lxjskn1yxllbv0vgvcc9f9xvgv9430dm4b59ia9baf98syd2";
    };
  
    # 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
    buildPhase = ''
      (cd build; ant init compile jar)
    '';
  
    # jameica itself loads ./plugin.xml to determine it's version.
    # Unfortunately, the version attribute there seems to be wrong,
    # so it thinks it's older than it really is,
    # and refuses to load plugins destined for its version.
    # Set version manually to workaround that.
    postPatch = ''
      xml ed -u '/system/@version' -v '${version}' plugin.xml > plugin.xml.new
      mv plugin.xml.new plugin.xml
    '';
  
    installPhase = ''
  
negative.code: { stdenv, fetchFromGitHub, makeDesktopItem, makeWrapper, ant, jdk, jre, gtk2, glib, xorg, Cocoa }:
  
  let
    _version = "2.8.2";
    _build = "450";
    version = "${_version}-${_build}";
    name = "jameica-${version}";
  
  