fastnetmon-advanced: set passthru.tests

This commit is contained in:
Yureka 2023-10-23 21:37:17 +02:00
parent 3ee90096c1
commit 30dccceab1

View file

@ -1,4 +1,10 @@
{ lib, stdenv, fetchurl, autoPatchelfHook, bzip2 }:
{ lib
, stdenv
, fetchurl
, autoPatchelfHook
, bzip2
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "fastnetmon-advanced";
@ -58,6 +64,8 @@ stdenv.mkDerivation rec {
$out/bin/fnm-gobgpd --help 2>&1 | grep "Application Options"
'';
passthru.tests = { inherit (nixosTests) fastnetmon-advanced; };
meta = with lib; {
description = "A high performance DDoS detector / sensor - commercial edition";
homepage = "https://fastnetmon.com";