iftop: add passthru.tests
to reference VM-test
This commit is contained in:
parent
f57da8ef0a
commit
e3553f1d94
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, ncurses, libpcap, automake}:
|
{ stdenv, fetchurl, ncurses, libpcap, automake, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "iftop-1.0pre4";
|
name = "iftop-1.0pre4";
|
||||||
@ -18,6 +18,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ncurses libpcap];
|
buildInputs = [ncurses libpcap];
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) iftop; };
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Display bandwidth usage on a network interface";
|
description = "Display bandwidth usage on a network interface";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user