rspamd: add passthru.tests
This commit is contained in:
parent
02daf3f076
commit
1c20e2c9f2
@ -4,6 +4,7 @@
|
|||||||
, withBlas ? true
|
, withBlas ? true
|
||||||
, withHyperscan ? stdenv.isx86_64
|
, withHyperscan ? stdenv.isx86_64
|
||||||
, withLuaJIT ? stdenv.isx86_64
|
, withLuaJIT ? stdenv.isx86_64
|
||||||
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert withHyperscan -> stdenv.isx86_64;
|
assert withHyperscan -> stdenv.isx86_64;
|
||||||
@ -34,6 +35,8 @@ stdenv.mkDerivation rec {
|
|||||||
"-DENABLE_JEMALLOC=ON"
|
"-DENABLE_JEMALLOC=ON"
|
||||||
] ++ lib.optional withHyperscan "-DENABLE_HYPERSCAN=ON";
|
] ++ lib.optional withHyperscan "-DENABLE_HYPERSCAN=ON";
|
||||||
|
|
||||||
|
passthru.tests.rspamd = nixosTests.rspamd;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://rspamd.com";
|
homepage = "https://rspamd.com";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user