1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, ncurses, libconfuse
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 sha256 = "1ilba872c09mnlvylslv4hqv6c9cz36l76q74rr99jvis1dg69gf";
15 nativeBuildInputs = [ autoreconfHook pkg-config ];
17 buildInputs = [ ncurses libconfuse ] ++ lib.optional stdenv.isLinux libnl;
20 # Must be an absolute path
21 export PKG_CONFIG="$(command -v "$PKG_CONFIG")"
25 description = "Network bandwidth monitor";
26 homepage = "https://github.com/tgraf/bmon";
27 # Licensed unter BSD and MIT
28 # - https://github.com/tgraf/bmon/blob/master/LICENSE.BSD
29 # - https://github.com/tgraf/bmon/blob/master/LICENSE.MIT
30 license = licenses.bsd2;
31 platforms = platforms.unix;
32 maintainers = with maintainers; [ bjornfor pSub ];