suricata: link nixosTests.suricata to passthru.tests

This commit is contained in:
Bjørn Forsman 2024-11-23 22:01:46 +01:00
parent 74a650ef9c
commit 2cbf5b1c4b

View File

@ -27,6 +27,7 @@
, zlib
, redisSupport ? true, redis, hiredis
, rustSupport ? true, rustc, cargo
, nixosTests
}: let
libmagic = file;
hyperscanSupport = stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux";
@ -153,6 +154,8 @@ stdenv.mkDerivation rec {
--replace "/etc/suricata" "$out/etc/suricata"
'';
passthru.tests = { inherit (nixosTests) suricata; };
meta = with lib; {
description = "Free and open source, mature, fast and robust network threat detection engine";
homepage = "https://suricata.io";