iftop: improve meta attributes

- The description attribute is very long, so rename it to
  longDescription and add a short text in the description attribute.
- Use licenses.gpl2Plus instead of free form text "GPLv2+".
- Add platforms attribute so that hydra will build the package.
This commit is contained in:
Bjørn Forsman 2013-07-28 14:04:44 +02:00
parent 516377c0b6
commit 386bef322d

View File

@ -18,10 +18,15 @@ stdenv.mkDerivation rec {
buildInputs = [ncurses libpcap]; buildInputs = [ncurses libpcap];
meta = { meta = with stdenv.lib; {
description = "iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts."; description = "Display bandwidth usage on a network interface";
longDescription = ''
license = "GPLv2+"; iftop does for network usage what top(1) does for CPU usage. It listens
to network traffic on a named interface and displays a table of current
bandwidth usage by pairs of hosts.
'';
license = licenses.gpl2Plus;
homepage = http://ex-parrot.com/pdw/iftop/; homepage = http://ex-parrot.com/pdw/iftop/;
platforms = platforms.linux;
}; };
} }