anchor.diff:    };
   
     installPhase = ''
  -    set -e
  -
       mkdir -pv $out/bin
  -
  -    for fn in lib/*.jar; do
  -      install -D -m644 $fn $out/$fn
  -    done
   
       cat > $out/bin/charles << EOF
       #!${stdenv.shell}
  
positive.code:     desktopName = "Charles";
      exec = "charles %F";
      genericName  = "Web Debugging Proxy";
      icon = "charles";
      mimeType = "application/x-charles-savedsession;application/x-charles-savedsession+xml;application/x-charles-savedsession+json;application/har+json;application/vnd.tcpdump.pcap;application/x-charles-trace";
      name = "Charles";
      startupNotify = "true";
  
negative.code: 
      chmod +x $out/bin/charles
  
      for fn in lib/*.jar; do
        install -D -m644 $fn $out/$fn
      done
  
      mkdir -p $out/share/applications
      ln -s ${desktopItem}/share/applications/* $out/share/applications/
  
      mkdir -p $out/share/icons
      cp -r icon $out/share/icons/hicolor
    '';
  
    meta = with stdenv.lib; {
  