lol
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, ncurses, confuse
2, libnl }:
3
4stdenv.mkDerivation rec {
5 name = "bmon-${version}";
6 version = "4.0";
7
8 src = fetchFromGitHub {
9 owner = "tgraf";
10 repo = "bmon";
11 rev = "v${version}";
12 sha256 = "1ilba872c09mnlvylslv4hqv6c9cz36l76q74rr99jvis1dg69gf";
13 };
14
15 nativeBuildInputs = [ autoreconfHook pkgconfig ];
16
17 buildInputs = [ ncurses confuse libnl ];
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}