3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #88807 from NinjaTrappeur/nin-prosody-passthru

prosody: add passthru tests
This commit is contained in:
Florian Klink 2020-05-24 23:53:08 +02:00 committed by GitHub
commit a1d501b87e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
{ stdenv, fetchurl, lib, libidn, openssl, makeWrapper, fetchhg
, lua5, luasocket, luasec, luaexpat, luafilesystem, luabitop
, nixosTests
, withLibevent ? true, luaevent ? null
, withDBI ? true, luadbi ? null
# use withExtraLibs to add additional dependencies of community modules
@ -71,7 +72,13 @@ stdenv.mkDerivation rec {
--prefix LUA_CPATH ';' "$LUA_CPATH"
'';
passthru.communityModules = withCommunityModules;
passthru = {
communityModules = withCommunityModules;
tests = {
main = nixosTests.prosody;
mysql = nixosTests.prosodyMysql;
};
};
meta = {
description = "Open-source XMPP application server written in Lua";