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:     cp -a ./BIN/. $out/share/${pname}
      makeWrapper $out/share/${pname}/${pname}.sh $out/bin/${pname} \
        --set FREEPLANE_BASE_DIR $out/share/${pname} \
        --set JAVA_HOME ${jdk} \
        --prefix PATH : ${lib.makeBinPath [ jdk which ]}
      runHook postInstall
    '';
  
  