anchor.diff:  
       outputHashAlgo = "sha256";
       outputHashMode = "recursive";
  -    outputHash = "xphTzaSXTGpP7vI/t4oIiv1ZpbekG2dFRzyl3ub6qnA=";
  +    outputHash = deps_outputHash;
     };
   
     # Point to our local deps repo
  
positive.code: 
      outputHashAlgo = "sha256";
      outputHashMode = "recursive";
      outputHash = "0zikbakbr2fhyv4h4h52ajhznjka0hg6hiqfy1528a39i6psipn3";
    };
  
  in stdenv.mkDerivation rec {
    inherit pname version src;
  
    nativeBuildInputs = [ makeWrapper jdk11 gradle_5 ];
  
    buildPhase = ''
      mkdir -p -- ./freeplane/build/emoji/{txt,resources/images}
      cp ${emoji}/emoji/txt/emojilist.txt ./freeplane/build/emoji/txt/emojilist.txt
      cp -r ${emoji}/resources/images/emoji ./freeplane/build/emoji/resources/images/emoji
      GRADLE_USER_HOME=$PWD gradle -Dorg.gradle.java.home=${jdk11} --no-daemon --offline --init-script ${gradleInit} -x test -x :freeplane:downloadEmoji build
    '';
  
    installPhase = ''
  
negative.code: { stdenv, lib, fetchpatch, fetchFromGitHub, makeWrapper, writeText, runtimeShell, jdk11, perl, gradle_6, which }:
  
  let
    pname = "freeplane";
    version = "1.9.14";
  
    src_sha256 = "UiXtGJs+hibB63BaDDLXgjt3INBs+NfMsKcX2Q/kxKw=";
    deps_outputHash = "tHhRaMIQK8ERuzm+qB9tRe2XSesL0bN3rComB9/qWgg=";
    emoji_outputHash = "w96or4lpKCRK8A5HaB4Eakr7oVSiQALJ9tCJvKZaM34=";
  
    jdk = jdk11;
    gradle = gradle_6;
  
    src = fetchFromGitHub {
      owner = pname;
      repo = pname;
      rev = "release-${version}";
      sha256 = src_sha256;
    };
  
    deps = stdenv.mkDerivation {
      name = "${pname}-deps";
      inherit src;
  
      nativeBuildInputs = [ jdk perl gradle ];
  
      buildPhase = ''
        GRADLE_USER_HOME=$PWD gradle -Dorg.gradle.java.home=${jdk} --no-daemon jar
      '';
  
      # Mavenize dependency paths
  