Commit 2cbf5b1c authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

suricata: link nixosTests.suricata to passthru.tests

parent 74a650ef
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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";