9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
17 sha256 = "sha256-IO5B+jyY6izPpam3Qt4Hu8BOGwfO10ER/GFEbsQORK0=";
21 substituteInPlace src/cfg.c --replace /usr/local $out
24 nativeBuildInputs = [ pkg-config ];
25 buildInputs = [ gd ncurses sqlite ];
27 nativeCheckInputs = [ check ];
32 description = "Console-based network statistics utility for Linux";
34 vnStat is a console-based network traffic monitor for Linux and BSD that
35 keeps a log of network traffic for the selected interface(s). It uses the
36 network interface statistics provided by the kernel as information source.
37 This means that vnStat won't actually be sniffing any traffic and also
38 ensures light use of system resources.
40 homepage = "https://humdi.net/vnstat/";
41 license = licenses.gpl2Plus;
42 platforms = platforms.linux;
43 maintainers = with maintainers; [ evils ];