1{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, ncurses, confuse
2, libnl }:
3
4stdenv.mkDerivation rec {
5 name = "bmon-${version}";
6 version = "3.8";
7
8 src = fetchFromGitHub {
9 owner = "tgraf";
10 repo = "bmon";
11 rev = "v${version}";
12 sha256 = "19jv14r9j9n54bqhidw3z11z3wys1v2cagqpsxn0kjga1gkg87xs";
13 };
14
15 buildInputs = [ autoconf automake pkgconfig ncurses confuse libnl ];
16
17 preConfigure = "sh ./autogen.sh";
18
19 meta = with stdenv.lib; {
20 description = "Network bandwidth monitor";
21 homepage = https://github.com/tgraf/bmon;
22 # Licensed unter BSD and MIT
23 # - https://github.com/tgraf/bmon/blob/master/LICENSE.BSD
24 # - https://github.com/tgraf/bmon/blob/master/LICENSE.MIT
25 license = licenses.bsd2;
26 platforms = platforms.linux;
27 maintainers = with maintainers; [ bjornfor pSub ];
28 };
29}