nixpkgs/pkgs/servers
Félix Baylac-Jacqué 8aea528872
nixos/prosody: make defaults comply with XEP-0423
Setting up a XMPP chat server is a pretty deep rabbit whole to jump in
when you're not familiar with this whole universe. Your experience
with this environment will greatly depends on whether or not your
server implements the right set of XEPs.

To tackle this problem, the XMPP community came with the idea of
creating a meta-XEP in charge of listing the desirable XEPs to comply
with. This meta-XMP is issued every year under an new XEP number. The
2020 one being XEP-0423[1].

This prosody nixos module refactoring makes complying with XEP-0423
easier. All the necessary extensions are enabled by default. For some
extensions (MUC and HTTP_UPLOAD), we need some input from the user and
cannot provide a sensible default nixpkgs-wide. For those, we guide
the user using a couple of assertions explaining the remaining manual
steps to perform.

We took advantage of this substential refactoring to refresh the
associated nixos test.

Changelog:
- Update the prosody package to provide the necessary community
  modules in order to comply with XEP-0423. This is a tradeoff, as
  depending on their configuration, the user might end up not using them
  and wasting some disk space. That being said, adding those will
  allow the XEP-0423 users, which I expect to be the majority of
  users, to leverage a bit more the binary cache.
- Add a muc submodule populated with the prosody muc defaults.
- Add a http_upload submodule in charge of setting up a basic http
  server handling the user uploads. This submodule is in is
  spinning up an HTTP(s) server in charge of receiving and serving the
  user's attachments.
- Advertise both the MUCs and the http_upload endpoints using mod disco.
- Use the slixmpp library in place of the now defunct sleekxmpp for
  the prosody NixOS test.
- Update the nixos test to setup and test the MUC and http upload
  features.
- Add a couple of assertions triggered if the setup is not xep-0423
  compliant.

[1] https://xmpp.org/extensions/xep-0423.html
2020-04-30 20:39:54 +02:00
..
adminer adminer: init at 4.7.6 2020-03-04 22:07:18 +01:00
amqp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ankisyncd ankisyncd: init at 2.1.0 2020-03-10 20:37:51 +01:00
apache-kafka treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
apcupsd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
asterisk treewide: per RFC45, remove more unquoted URLs 2020-04-18 14:04:37 +02:00
atlassian treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
beanstalkd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bird treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
blockbook blockbook: 0.3.1 -> 0.3.2 2020-03-10 15:22:37 +01:00
brickd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
caddy Merge pull request #84169 from filalex77/caddy2-2.0.0-rc.1 2020-04-03 09:12:14 -05:00
cayley treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
clickhouse clickhouse: 19.17.8.54 -> 19.17.9.60 2020-03-26 18:18:13 +00:00
cloud-print-connector treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
computing treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
confluent-platform treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
consul treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
corosync treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
coturn treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
couchpotato treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dante dante: fix package under Linux 2019-11-19 20:23:17 +11:00
demoit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dex dex-oidc: use buildGoPackage 2019-09-21 04:26:00 -05:00
dgraph dgraph: 0.8.2 -> 1.0.17 2019-08-31 19:15:52 -07:00
dico treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dict treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
diod diod: fix build w/glibc-2.30 2020-01-23 00:21:22 +01:00
dns Merge pull request #81365 from peterhoeg/p/https-dns 2020-04-20 14:06:40 +08:00
documize-community documize-community: add passthru.tests to reference VM-test 2020-04-15 22:35:46 +02:00
echoip treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
elasticmq treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
elasticmq-server-bin treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
endlessh endlessh: 1.0 -> 1.1 2020-01-31 12:00:00 -05:00
etcd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
exhibitor treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fcgiwrap treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
felix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fileshare treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fingerd/bsd-fingerd treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
firebird treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
foundationdb treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
freeradius treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ftp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gobetween Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin" 2020-03-27 07:33:21 +00:00
gopher/gofish treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gortr Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin" 2020-03-27 07:33:21 +00:00
gotify Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin" 2020-03-27 07:33:21 +00:00
gotty treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gpm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gpsd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
grocy grocy: 2.7.0 -> 2.7.1 2020-04-17 22:02:28 +02:00
h2 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hbase treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
headphones buildPython*: use pname 2020-03-30 17:07:41 +02:00
hitch treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
holochain-go
home-assistant home-assistant: 0.108.2 -> 0.108.7 2020-04-22 09:04:44 +01:00
http nginxMainline: 1.17.9 -> 1.18.0 2020-04-23 14:34:21 +03:00
hydron hydron: fix strict deps build 2020-03-23 08:14:47 +00:00
hylafaxplus treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
icecast treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
icingaweb2 icingaweb2: 2.7.1 -> 2.7.3 2019-10-22 10:10:20 +02:00
identd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
imgproxy imgproxy: 2.8.1 -> 2.11.0 2020-04-01 13:11:26 +00:00
interlock treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
irc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
irker treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
isso treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jackett jackett: 0.13.467 -> 0.14.365 2020-04-06 12:38:22 -07:00
jellyfin jellyfin: add link to nixos test 2020-04-14 15:50:07 +02:00
jetbrains treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
keycloak keycloak: 9.0.2 -> 9.0.3 2020-04-22 23:45:32 +02:00
kippo treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
kwakd treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
ldap/389 net-snmp: rename from net_snmp 2019-12-21 22:56:08 +00:00
lidarr lidarr: Add missing dependency chromaprint 2019-10-22 17:39:09 +02:00
limesurvey limesurvey: 3.17.1+190408 -> 3.17.12+190823 2019-08-24 08:15:13 -04:00
livepeer treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ma1sd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mail treewide: use blas and lapack 2020-04-17 16:24:09 -05:00
matrix-synapse matrix-synapse: 1.12.1 -> 1.12.4 2020-04-23 20:22:10 +02:00
matterbridge matterbridge: 1.16.5 -> 1.17.1 2020-04-01 14:52:11 +00:00
mattermost treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mautrix-telegram treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mautrix-whatsapp mautrix-whatsapp: 2020-04-12 -> 2020-04-21 2020-04-21 18:05:15 +02:00
mediatomb treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
meguca meguca: fix strict deps build 2020-03-23 08:14:49 +00:00
memcached treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mesos-dns treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
metabase metabase: 0.34.3 -> 0.35.1 2020-04-06 05:58:58 +00:00
meteor meteor: 1.8.2 -> 1.9.3 2020-03-24 11:14:44 -07:00
miniflux treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
minio minio: 2020-03-06T22-23-56Z -> 2020-03-25T07-03-04Z 2020-04-01 15:13:11 +00:00
mirrorbits mirrorbits: Fix build with go 1.12 2019-09-11 14:33:13 +01:00
misc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mlflow-server mlflow-server: init at 1.4.0 2020-02-15 22:11:25 -08:00
monitoring Merge pull request #85615 from Frostman/prom-2.17.2 2020-04-24 19:15:05 -05:00
mpd mpd: declare tests from nixosTests 2020-04-22 11:45:04 +05:30
mqtt/mosquitto mosquitto: 1.6.7 -> 1.6.8 2020-01-22 03:55:00 +00:00
mtprotoproxy treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mumsi treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
mxisd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nas treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nats-server treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nats-streaming-server treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
neard treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
news/leafnode treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nextcloud nextcloud*: add passthru.tests to reference VM-tests 2020-04-16 02:31:54 +02:00
nginx-sso treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nosql mongodb_3_4: fix license 2020-04-21 18:05:15 +02:00
nsq treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
oauth2_proxy oauth2_proxy: Add knl as a maintainer 2020-04-20 10:11:46 +02:00
openafs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
openxpki treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
osrm-backend treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
p910nd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
pies treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
plex treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
polipo treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
pounce treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
prayer treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ps3netsrv treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
pulseaudio treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
quagga treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
radarr radarr: 0.2.0.1450 -> 0.2.0.1480 2020-03-03 15:04:32 +00:00
radicale treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rainloop rainloop: 1.13.0 -> 1.14.0 2020-03-25 08:25:11 +00:00
rippled treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
roon-server treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
roundcube roundcube: 1.4.2 -> 1.4.3 2020-02-19 23:57:37 +01:00
routinator routinator: upgrade cargo fetcher and cargoSha256 2020-02-29 10:51:30 -05:00
rpcbind treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rt rt: fix build error 2020-03-19 18:13:20 -07:00
sabnzbd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
samba samba: 4.12.0 -> 4.12.1 2020-04-11 12:06:30 +00:00
scylladb scylladb: don't build on Hydra; /cc PR #70576 2019-10-12 09:46:56 +02:00
search Merge pull request #84574 from filalex77/meilisearch-0.9.0 2020-04-12 04:40:15 -05:00
ser2net ser2net: init at 4.1.1 2020-01-22 16:42:27 +01:00
serf treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
serviio serviio: update homepage link to use HTTPS 2020-04-24 19:44:59 -07:00
shairplay treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
shairport-sync shairport-sync: 3.3.5 -> 3.3.6 2020-02-23 13:58:19 -08:00
shellinabox treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
shishi treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sickbeard treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
silc-server treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
simplehttp2server treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sip treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sks treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
skydns treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
slimserver treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
smcroute treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
softether treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sonarr sonarr: 2.0.0.5338 -> 2.0.0.5344 2020-03-20 14:06:19 +00:00
sozu sozu: init at 0.11.46 2020-03-31 11:48:10 +03:00
sql postgresql: remove version from passthru 2020-04-23 15:20:35 +00:00
squid treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sslh treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
syncserver treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tacacsplus tacacs+: tacacs+ -> tacacsplus 2019-09-03 21:27:40 +00:00
tailscale tailscale: 0.97-0 -> 0.97-219. 2020-04-21 19:43:32 +02:00
tang tang: init at 7 2020-02-17 15:14:28 +01:00
tautulli tautulli: 2.2.0 -> 2.2.1 2020-04-07 18:30:23 +00:00
tegola treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
teleport teleport: fix build with strict deps 2020-03-18 11:29:40 +00:00
tmate-ssh-server treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
traefik nixos/traefik: add test 2020-04-12 22:50:36 +02:00
trezord trezord-go: 2.0.28 -> 2.0.29 2020-03-09 19:28:24 +01:00
trickster nixos/trickster: add test 2019-11-01 14:10:53 +01:00
tt-rss treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ttyd ttyd: 1.5.2 -> 1.6.0 2020-04-24 11:12:21 -05:00
tvheadend treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
u9fs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
udpt treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
uftp uftp: 4.10.1 -> 4.10.2 2020-04-11 14:12:18 +00:00
uhub treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ums ums: 6.2.2 -> 9.1.0 2020-03-13 04:03:35 +00:00
unfs3 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
unifi Merge pull request #83872 from bachp/unifi-5.12.66 2020-04-15 21:26:20 +02:00
unpfs unpfs: upgrade cargo fetcher and cargoSha256 2020-03-08 23:09:16 -04:00
ursadb ursadb: init at v1.2.0 2020-04-03 11:29:05 +02:00
uwsgi treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
varnish treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
web-apps restya-board: update homepage link to use HTTPS 2020-04-24 19:44:59 -07:00
webmetro webmetro: upgrade cargo fetcher and cargoSha256 2020-02-29 10:44:54 -05:00
x11 Merge pull request #84415 from matthewbauer/mb-cross-fixes-april2020 2020-04-13 16:48:38 -04:00
xandikos xandikos: init at 0.1.0 2019-12-16 18:02:27 +01:00
xinetd treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
xmpp nixos/prosody: make defaults comply with XEP-0423 2020-04-30 20:39:54 +02:00
zoneminder zoneminder: 1.34.3 -> 1.34.9 2020-04-11 13:37:15 -04:00
zookeeper treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00