about summary refs log tree commit diff
path: root/pkgs/tools/security/haka
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2022-01-23 21:08:10 +0100
committerFabian Möller <fabianm88@gmail.com>2022-01-23 21:08:10 +0100
commit4329d79dbab9f9ae6654c59ac428b8935eb7f7c5 (patch)
tree5b185c93081c8667de8a7cbf7bd21f6a019761fe /pkgs/tools/security/haka
parentfd6b95db2263e80269834e2508302de4aed025d7 (diff)
nixos/tests: link tests to their packages
Diffstat (limited to 'pkgs/tools/security/haka')
-rw-r--r--pkgs/tools/security/haka/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/security/haka/default.nix b/pkgs/tools/security/haka/default.nix
index 809902e889766..3ea38e060407e 100644
--- a/pkgs/tools/security/haka/default.nix
+++ b/pkgs/tools/security/haka/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, cmake, swig, wireshark, check, rsync, libpcap, gawk, libedit, pcre }:
+{ lib, stdenv, fetchurl, cmake, swig, wireshark, check, rsync, libpcap, gawk, libedit, pcre, nixosTests }:
 
 let version = "0.3.0"; in
 
@@ -24,6 +24,8 @@ stdenv.mkDerivation {
   nativeBuildInputs = [ cmake ];
   buildInputs = [ swig wireshark check rsync libpcap gawk libedit pcre ];
 
+  passthru.tests = { inherit (nixosTests) haka; };
+
   meta = {
     description = "A collection of tools that allows capturing TCP/IP packets and filtering them based on Lua policy files";
     homepage = "http://www.haka-security.org/";