Skip to content

Commit

Permalink
suricata: link nixosTests.suricata to passthru.tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornfor committed Nov 24, 2024
1 parent 74a650e commit 2cbf5b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/by-name/su/suricata/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 2cbf5b1

Please sign in to comment.