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
1 changed files with 8 additions and 1 deletions

View File

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