Merge pull request #101305 from nh2/rspamd-passthru-tests

rspamd: add passthru.tests
This commit is contained in:
Martin Weinelt 2020-10-22 13:34:53 +02:00 committed by GitHub
commit d3b2380252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@
, withBlas ? true
, withHyperscan ? stdenv.isx86_64
, withLuaJIT ? stdenv.isx86_64
, nixosTests
}:
assert withHyperscan -> stdenv.isx86_64;
@ -34,6 +35,8 @@ stdenv.mkDerivation rec {
"-DENABLE_JEMALLOC=ON"
] ++ lib.optional withHyperscan "-DENABLE_HYPERSCAN=ON";
passthru.tests.rspamd = nixosTests.rspamd;
meta = with stdenv.lib; {
homepage = "https://rspamd.com";
license = licenses.asl20;