anchor.diff:      cat > $out/bin/jd-gui <<EOF
       #!${runtimeShell}
       export JAVA_HOME=${jre}
  -    ${jre}/bin/java -jar ${jar} $@
  +    exec ${jre}/bin/java -jar ${jar} "\$@"
       EOF
       chmod +x $out/bin/jd-gui
   
       ${(desktopItem "$out/bin/jd-gui").buildCommand}
     '';
   
  -  dontStrip = true;
  -
     meta = with stdenv.lib; {
       description = "Fast Java Decompiler with powerful GUI";
  -    homepage    = "http://jd.benow.ca/";
  +    homepage    = "https://java-decompiler.github.io/";
       license     = licenses.gpl3;
       platforms   = platforms.unix;
       maintainers = [ maintainers.thoughtpolice ];
  
positive.code:       find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \
          | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
          | sh
      '';
  
      outputHashAlgo = "sha256";
      outputHashMode = "recursive";
      outputHash = "1apmqiphnav79m4rdii58h7f4qslpfig4qybyyl2fr7zk92gv3l9";
    };
  
    # Point to our local deps repo
  
negative.code: { stdenv, fetchFromGitHub, jre, jdk, makeDesktopItem, perl, writeText, runtimeShell }:
  
  let
    pname = "jd-gui";
    version = "1.6.5";
  
    src = fetchFromGitHub {
      owner = "java-decompiler";
      repo = pname;
      rev = "v${version}";
      sha256 = "0yn2xcwznig941pw2f3wi8ixz1wprxcn9wl0g2ggdzx51rfwgzzi";
    };
  
    deps = stdenv.mkDerivation {
      name = "${pname}-deps";
      inherit src;
  
      nativeBuildInputs = [ jdk perl ];
  
      patchPhase = "patchShebangs gradlew";
  
      buildPhase = ''
        export GRADLE_USER_HOME=$(mktemp -d);
        ./gradlew --no-daemon jar
      '';
  
      # Mavenize dependency paths
  