anchor.diff:      EOF
       chmod +x $out/bin/jd-gui
   
  -    ${(desktopItem "$out/bin/jd-gui").buildCommand}
  +    runHook postInstall
     '';
  +
  +  desktopItems = [ desktopItem ];
   
     meta = with stdenv.lib; {
       description = "Fast Java Decompiler with powerful GUI";
  
positive.code: { stdenv, fetchFromGitHub, jre, jdk, gradle_5, makeDesktopItem, perl, writeText, runtimeShell }:
  
  let
    pname = "jd-gui";
  
negative.code:     }
    '';
  
    desktopItem = makeDesktopItem {
      name = "jd-gui";
      exec = "jd-gui %F";
      icon = "jd-gui";
      comment = "Java Decompiler JD-GUI";
      desktopName = "JD-GUI";
  