aboutsummaryrefslogtreecommitdiff
path: root/pkgs/servers/xmpp
diff options
context:
space:
mode:
authorFlorian Jacob <projects+git@florianjacob.de>2017-12-22 01:17:48 +0100
committerFlorian Jacob <projects+git@florianjacob.de>2018-03-12 20:19:03 +0100
commit226965da67c25bbad0c6c0cc6d21b64a647beed8 (patch)
tree7d6b344c8bc5f1c995b6e295aace1cfc2e9ffbca /pkgs/servers/xmpp
parent0c74665bad3699cb3b2f4c0121101b94aa6fed49 (diff)
prosody: 0.9.12 -> 0.10.0
updating config options, removing luazlib as mod_compression was removed for security reasons.
Diffstat (limited to 'pkgs/servers/xmpp')
-rw-r--r--pkgs/servers/xmpp/prosody/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/servers/xmpp/prosody/default.nix b/pkgs/servers/xmpp/prosody/default.nix
index b0e3492c0da1..eb3e858ac4dc 100644
--- a/pkgs/servers/xmpp/prosody/default.nix
+++ b/pkgs/servers/xmpp/prosody/default.nix
@@ -1,14 +1,12 @@
{ stdenv, fetchurl, libidn, openssl, makeWrapper, fetchhg
, lua5, luasocket, luasec, luaexpat, luafilesystem, luabitop
, withLibevent ? true, luaevent ? null
-, withZlib ? true, luazlib ? null
, withDBI ? true, luadbi ? null
# use withExtraLibs to add additional dependencies of community modules
, withExtraLibs ? [ ]
, withCommunityModules ? [ ] }:
assert withLibevent -> luaevent != null;
-assert withZlib -> luazlib != null;
assert withDBI -> luadbi != null;
with stdenv.lib;
@@ -16,7 +14,6 @@ with stdenv.lib;
let
libs = [ luasocket luasec luaexpat luafilesystem luabitop ]
++ optional withLibevent luaevent
- ++ optional withZlib luazlib
++ optional withDBI luadbi
++ withExtraLibs;
getPath = lib : type : "${lib}/lib/lua/${lua5.luaversion}/?.${type};${lib}/share/lua/${lua5.luaversion}/?.${type}";
@@ -27,12 +24,12 @@ let
in
stdenv.mkDerivation rec {
- version = "0.9.12";
+ version = "0.10.0";
name = "prosody-${version}";
src = fetchurl {
url = "http://prosody.im/downloads/source/${name}.tar.gz";
- sha256 = "139yxqpinajl32ryrybvilh54ddb1q6s0ajjhlcs4a0rnwia6n8s";
+ sha256 = "1644jy5dk46vahmh6nna36s79k8k668sbi3qamjb4q3c4m3y853l";
};
communityModules = fetchhg {
@@ -65,7 +62,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Open-source XMPP application server written in Lua";
license = licenses.mit;
- homepage = http://www.prosody.im;
+ homepage = https://prosody.im;
platforms = platforms.linux;
maintainers = [ ];
};