ejabberd: 17.07 -> 18.01

This commit is contained in:
Nikolay Amiantov 2018-02-25 20:17:51 +03:00
parent 112aa98d3b
commit f22a050a1a

View File

@ -1,5 +1,5 @@
{ stdenv, writeScriptBin, lib, fetchurl, git, cacert { stdenv, writeScriptBin, lib, fetchurl, git, cacert
, erlang, openssl, expat, libyaml, bash, gnused, gnugrep, coreutils, utillinux, procps , erlang, openssl, expat, libyaml, bash, gnused, gnugrep, coreutils, utillinux, procps, gd
, withMysql ? false , withMysql ? false
, withPgsql ? false , withPgsql ? false
, withSqlite ? false, sqlite , withSqlite ? false, sqlite
@ -23,17 +23,17 @@ let
ctlpath = lib.makeBinPath [ bash gnused gnugrep coreutils utillinux procps ]; ctlpath = lib.makeBinPath [ bash gnused gnugrep coreutils utillinux procps ];
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
version = "17.07"; version = "18.01";
name = "ejabberd-${version}"; name = "ejabberd-${version}";
src = fetchurl { src = fetchurl {
url = "http://www.process-one.net/downloads/ejabberd/${version}/${name}.tgz"; url = "http://www.process-one.net/downloads/ejabberd/${version}/${name}.tgz";
sha256 = "1p8ppp2czjgnq8xnhyksd82npvvx99fwr0g3rrq1wvnwh2vgb8km"; sha256 = "01i2n8mlgw293jdf4172f9q8ca8m35vysjws791p7nynpfdb4cn6";
}; };
nativeBuildInputs = [ fakegit ]; nativeBuildInputs = [ fakegit ];
buildInputs = [ erlang openssl expat libyaml ] buildInputs = [ erlang openssl expat libyaml gd ]
++ lib.optional withSqlite sqlite ++ lib.optional withSqlite sqlite
++ lib.optional withPam pam ++ lib.optional withPam pam
++ lib.optional withZlib zlib ++ lib.optional withZlib zlib
@ -74,7 +74,7 @@ in stdenv.mkDerivation rec {
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHash = "1q9yzccn4zf5i4hibq1r0i34q4986a93ph4792l1ph07aiisc8p7"; outputHash = "1v3h0c7kfifb6wsfxyv5j1wc7rlxbb7r0pgd4s340wiyxnllzzhk";
}; };
configureFlags = configureFlags =
@ -107,12 +107,12 @@ in stdenv.mkDerivation rec {
$out/sbin/ejabberdctl $out/sbin/ejabberdctl
''; '';
meta = { meta = with stdenv.lib; {
description = "Open-source XMPP application server written in Erlang"; description = "Open-source XMPP application server written in Erlang";
license = lib.licenses.gpl2; license = licenses.gpl2;
homepage = http://www.ejabberd.im; homepage = http://www.ejabberd.im;
platforms = lib.platforms.linux; platforms = platforms.linux;
maintainers = [ lib.maintainers.sander lib.maintainers.abbradar ]; maintainers = with maintainers; [ sander abbradar ];
broken = withElixir; broken = withElixir;
}; };
} }