diff --git a/pkgs/tools/misc/bmon/default.nix b/pkgs/tools/misc/bmon/default.nix index 30412016e50..9c7eafe351f 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;