bmon: update from 3.1 to 3.5 and added myself as maintainer

This commit is contained in:
Pascal Wittmann 2014-09-22 00:05:52 +02:00
parent 837fef324d
commit 363b6da6a7

View File

@ -1,25 +1,29 @@
{ stdenv, fetchurl, pkgconfig, ncurses, confuse, libnl }: { stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, ncurses, confuse
, libnl }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "bmon-3.1"; name = "bmon-${version}";
version = "3.5";
src = fetchurl { src = fetchFromGitHub {
url = http://www.carisma.slowglass.com/~tgr/bmon/files/bmon-3.1.tar.gz; owner = "tgraf";
sha256 = "005ib7c3g3cva0rdwsgl6hfakxd5yp88sf4bjxb6iarcm3ax18ky"; repo = "bmon";
rev = "v${version}";
sha256 = "0k6cwprwnrnilbs2fgkx7z9mg6rr11wf6djq6pjfc7fjn2fjvybi";
}; };
buildInputs = [ pkgconfig ncurses confuse libnl ]; buildInputs = [ autoconf automake pkgconfig ncurses confuse libnl ];
preConfigure = "sh ./autogen.sh";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Network bandwidth monitor"; description = "Network bandwidth monitor";
homepage = http://www.carisma.slowglass.com/~tgr/bmon/; homepage = https://github.com/tgraf/bmon;
# Neither the homepage nor the source archive has license info, but in the # Licensed unter BSD and MIT
# latest git version there is a LICENSE file that is the 2-clause BSD # - https://github.com/tgraf/bmon/blob/master/LICENSE.BSD
# license. # - https://github.com/tgraf/bmon/blob/master/LICENSE.MIT
# - https://github.com/tgraf/bmon/blob/master/LICENSE
# - http://opensource.org/licenses/BSD-2-Clause
license = licenses.bsd2; license = licenses.bsd2;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ]; maintainers = with maintainers; [ bjornfor pSub ];
}; };
} }