mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
rspamd: add passthru.tests
This commit is contained in:
parent
02daf3f076
commit
1c20e2c9f2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user