anchor.diff:    installPhase = let
       jar = "$out/share/jd-gui/${name}.jar";
     in ''
  +    runHook preInstall
  +
       mkdir -p $out/bin $out/share/{jd-gui,icons/hicolor/128x128/apps}
       cp build/libs/${name}.jar ${jar}
       cp src/linux/resources/jd_icon_128.png $out/share/icons/hicolor/128x128/apps/jd-gui.png
  
positive.code:     }
    '';
  
    desktopItem = launcher: makeDesktopItem {
      name = "jd-gui";
      exec = "${launcher} %F";
      icon = "jd-gui";
      comment = "Java Decompiler JD-GUI";
      desktopName = "JD-GUI";
  
negative.code:   inherit pname version src;
    name = "${pname}-${version}";
  
    nativeBuildInputs = [ jdk gradle_5 copyDesktopItems ];
  
    buildPhase = ''
      export GRADLE_USER_HOME=$(mktemp -d)
  