From 7b4b03616ce72283547983316be375759d8fc26b Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Thu, 25 Jul 2013 12:43:40 +0200 Subject: bmon: new package bmon is a ncurses network bandwidth monitor. Homepage: http://www.carisma.slowglass.com/~tgr/bmon/ --- pkgs/tools/misc/bmon/default.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/tools/misc/bmon/default.nix (limited to 'pkgs/tools/misc/bmon') diff --git a/pkgs/tools/misc/bmon/default.nix b/pkgs/tools/misc/bmon/default.nix new file mode 100644 index 000000000000..29a6db4e6d27 --- /dev/null +++ b/pkgs/tools/misc/bmon/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pkgconfig, ncurses, confuse, libnl }: + +stdenv.mkDerivation { + name = "bmon-3.1"; + + src = fetchurl { + url = http://www.carisma.slowglass.com/~tgr/bmon/files/bmon-3.1.tar.gz; + sha256 = "005ib7c3g3cva0rdwsgl6hfakxd5yp88sf4bjxb6iarcm3ax18ky"; + }; + + buildInputs = [ pkgconfig ncurses confuse libnl ]; + + meta = with stdenv.lib; { + description = "Network bandwidth monitor"; + homepage = http://www.carisma.slowglass.com/~tgr/bmon/; + # Neither the homepage nor the source archive has license info, but in the + # latest git version there is a LICENSE file that is the 2-clause BSD + # license. + # - https://github.com/tgraf/bmon/blob/master/LICENSE + # - http://opensource.org/licenses/BSD-2-Clause + license = licenses.bsd2; + platforms = platforms.linux; + maintainers = [ maintainers.bjornfor ]; + }; +} -- cgit 1.4.1