diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-07-28 14:04:44 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-07-28 14:04:44 +0200 |
commit | 386bef322d6e086883297b9e34d54ae206e005f7 (patch) | |
tree | 62e5743c2080be367838941b4e032ccc392b853a /pkgs/tools/networking/iftop | |
parent | 516377c0b6c61305f743ba02ea19214af49948ba (diff) | |
download | nixpkgs-386bef322d6e086883297b9e34d54ae206e005f7.tar nixpkgs-386bef322d6e086883297b9e34d54ae206e005f7.tar.gz nixpkgs-386bef322d6e086883297b9e34d54ae206e005f7.tar.bz2 nixpkgs-386bef322d6e086883297b9e34d54ae206e005f7.tar.lz nixpkgs-386bef322d6e086883297b9e34d54ae206e005f7.tar.xz nixpkgs-386bef322d6e086883297b9e34d54ae206e005f7.tar.zst nixpkgs-386bef322d6e086883297b9e34d54ae206e005f7.zip |
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.
Diffstat (limited to 'pkgs/tools/networking/iftop')
-rw-r--r-- | pkgs/tools/networking/iftop/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/tools/networking/iftop/default.nix b/pkgs/tools/networking/iftop/default.nix index 3a9c0e10a78..a1f5026fb28 100644 --- a/pkgs/tools/networking/iftop/default.nix +++ b/pkgs/tools/networking/iftop/default.nix @@ -18,10 +18,15 @@ stdenv.mkDerivation rec { buildInputs = [ncurses libpcap]; - meta = { - 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."; - - license = "GPLv2+"; + meta = with stdenv.lib; { + description = "Display bandwidth usage on a network interface"; + longDescription = '' + 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/; + platforms = platforms.linux; }; } |