From 61027b7fcea9aef25b5a61700ccb21788365645f Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Sat, 31 Dec 2016 18:06:11 +0100 Subject: [PATCH] bmon: 3.9 -> 4.0 --- pkgs/tools/misc/bmon/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/bmon/default.nix b/pkgs/tools/misc/bmon/default.nix index 30412016e507..9c7eafe351f7 100644 --- a/pkgs/tools/misc/bmon/default.nix +++ b/pkgs/tools/misc/bmon/default.nix @@ -1,23 +1,21 @@ -{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, ncurses, confuse +{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, ncurses, confuse , libnl }: stdenv.mkDerivation rec { name = "bmon-${version}"; - version = "3.9"; + version = "4.0"; src = fetchFromGitHub { owner = "tgraf"; repo = "bmon"; rev = "v${version}"; - sha256 = "1a4sj8pf02392zghr9wa1dc8x38fj093d4hg1fcakzrdjvrg1p2h"; + sha256 = "1ilba872c09mnlvylslv4hqv6c9cz36l76q74rr99jvis1dg69gf"; }; - nativeBuildInputs = [ autoconf automake pkgconfig ]; + nativeBuildInputs = [ autoreconfHook pkgconfig ]; buildInputs = [ ncurses confuse libnl ]; - preConfigure = "sh ./autogen.sh"; - meta = with stdenv.lib; { description = "Network bandwidth monitor"; homepage = https://github.com/tgraf/bmon;