rspamd: add passthru.tests

This commit is contained in:
Niklas Hambüchen 2020-10-22 02:36:12 +02:00
parent 02daf3f076
commit 1c20e2c9f2

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;