anchor.diff:    LANG = "en_US.UTF-8";
   
     depsNames =
  -    [ "cache_tab" "p1_tls" "p1_stringprep" "p1_xml" "esip" "p1_stun" "p1_yaml" "p1_utils" "jiffy" "oauth2" "xmlrpc" ]
  +    [ "lager" "goldrush" "p1_utils" "cache_tab" "fast_tls" "stringprep" "fast_xml" "stun" "esip" "fast_yaml"
  +      "jiffy" "p1_oauth2" "p1_xmlrpc" "luerl"
  +    ]
       ++ lib.optional withMysql "p1_mysql"
       ++ lib.optional withPgsql "p1_pgsql"
       ++ lib.optional withSqlite "sqlite3"
       ++ lib.optional withPam "p1_pam"
  -    ++ lib.optional withZlib "p1_zlib"
  +    ++ lib.optional withZlib "ezlib"
       ++ lib.optionals withRiak [ "hamcrest" "riakc" "riak_pb" "protobuffs" ]
  -    ++ lib.optionals withElixir [ "rebar_elixir_plugin" "elixir" ]
  -    ++ lib.optional withIconv "p1_iconv"
  -    ++ lib.optionals withLager [ "lager" "goldrush" ]
  -    ++ lib.optional (!withLager) "p1_logger"
  +    ++ lib.optionals withElixir [ "elixir" "rebar_elixir_plugin" ]
  +    ++ lib.optional withIconv "iconv"
       ++ lib.optional withTools "meck"
       ++ lib.optional withRedis "eredis"
     ;
  
positive.code:       (lib.enableFeature withRiak "riak")
        (lib.enableFeature withElixir "elixir")
        (lib.enableFeature withIconv "iconv")
        (lib.enableFeature withLager "lager")
        (lib.enableFeature withTools "tools")
        (lib.enableFeature withRedis "redis")
      ] ++ lib.optional withSqlite "--with-sqlite3=${sqlite}";
  
negative.code: 
    meta = {
      description = "Open-source XMPP application server written in Erlang";
      license = lib.licenses.gpl2;
      homepage = http://www.ejabberd.im;
      platforms = lib.platforms.linux;
      maintainers = [ lib.maintainers.sander lib.maintainers.abbradar ];
    };
  }
  