anchor.diff: -{ stdenv, lib, fetchurl
  +{ stdenvNoCC, lib, fetchurl, mysql_jdbc ? null
   , enableSSO ? false
   , crowdProperties ? null
  +, withMysql ? true
   }:
   
  -stdenv.mkDerivation rec {
  +assert withMysql -> (mysql_jdbc != null);
  +
  +stdenvNoCC.mkDerivation rec {
     pname = "atlassian-confluence";
     version = "7.2.0";
   
  
positive.code:     cat <<EOF > confluence/WEB-INF/classes/crowd.properties
      ${crowdProperties}
      EOF
    '';
  
    installPhase = ''
  
negative.code:     patchShebangs $out/bin
    '';
  
    meta = with lib; {
      description = "Team collaboration software written in Java and mainly used in corporate environments";
      homepage = "https://www.atlassian.com/software/confluence";
      license = licenses.unfree;
  