iftop: add passthru.tests to reference VM-test

This commit is contained in:
Maximilian Bosch
2020-04-15 21:59:34 +02:00
parent f57da8ef0a
commit e3553f1d94

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, ncurses, libpcap, automake}:
{ stdenv, fetchurl, ncurses, libpcap, automake, nixosTests }:
stdenv.mkDerivation {
name = "iftop-1.0pre4";
@@ -18,6 +18,8 @@ stdenv.mkDerivation {
buildInputs = [ncurses libpcap];
passthru.tests = { inherit (nixosTests) iftop; };
meta = with stdenv.lib; {
description = "Display bandwidth usage on a network interface";
longDescription = ''