anchor.diff:    ++ lib.optional withMysql "--enable-mysql"
     ++ lib.optional gnutlsSupport "--enable-gnutls";
   
  +  passthru.tests = {
  +    version = testVersion { package = pmacct; command = "pmacct -V"; };
  +  };
  +
     meta = with lib; {
       description = "A small set of multi-purpose passive network monitoring tools";
       longDescription = ''
  
positive.code:       [NetFlow IPFIX sFlow libpcap BGP BMP RPKI IGP Streaming Telemetry]
      '';
      homepage = "http://www.pmacct.net/";
      license = licenses.gpl2;
      maintainers = with maintainers; [ _0x4A6F ];
      platforms = platforms.unix;
  
negative.code:   ++ lib.optional withNflog libnetfilter_log
    ++ lib.optional withSQLite sqlite
    ++ lib.optional withPgSQL postgresql
    ++ lib.optionals withMysql [ libmysqlclient zlib numactl ]
    ++ lib.optional gnutlsSupport gnutls;
  
    MYSQL_CONFIG = lib.optionalString withMysql "${lib.getDev libmysqlclient}/bin/mysql_config";
  