88abffb7d2
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, autoreconfHook
|
|
, fetchurl
|
|
, ncurses
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bwm-ng";
|
|
version = "0.6.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.gropp.org/bwm-ng/${pname}-${version}.tar.gz";
|
|
sha256 = "0ikzyvnb73msm9n7ripg1dsw9av1i0c7q2hi2173xsj8zyv559f1";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
ncurses
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A small and simple console-based live network and disk io bandwidth monitor";
|
|
homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ ];
|
|
longDescription = ''
|
|
bwm-ng supports:
|
|
- /proc/net/dev, netstat, getifaddr, sysctl, kstat, /proc/diskstats /proc/partitions, IOKit,
|
|
devstat and libstatgrab
|
|
- unlimited number of interfaces/devices
|
|
- interfaces/devices are added or removed dynamically from list
|
|
- white-/blacklist of interfaces/devices
|
|
- output of KB/s, Kb/s, packets, errors, average, max and total sum
|
|
- output in curses, plain console, CSV or HTML
|
|
'';
|
|
};
|
|
}
|