13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
21 sha256 = "1ilba872c09mnlvylslv4hqv6c9cz36l76q74rr99jvis1dg69gf";
24 # The source code defines `__unused__`, which is a reserved name
25 # https://github.com/tgraf/bmon/issues/89
28 url = "https://github.com/macports/macports-ports/raw/6d1dd5e9c8fae608bd22f3ede21e576f29c6358c/net/bmon/files/patch-fix__unused.diff";
30 sha256 = "sha256-UYIiJZzipsx9a0xabrKfyj8TWNW7IM77oXnVnSPkQkc=";
42 ] ++ lib.optional stdenv.hostPlatform.isLinux libnl;
45 # Must be an absolute path
46 export PKG_CONFIG="$(command -v "$PKG_CONFIG")"
50 description = "Network bandwidth monitor";
51 homepage = "https://github.com/tgraf/bmon";
52 # Licensed unter BSD and MIT
53 # - https://github.com/tgraf/bmon/blob/master/LICENSE.BSD
54 # - https://github.com/tgraf/bmon/blob/master/LICENSE.MIT
55 license = licenses.bsd2;
56 platforms = platforms.unix;
57 maintainers = with maintainers; [