mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
bmon: update from 3.6 to 3.7
This commit is contained in:
parent
96b325b0b7
commit
e46933f554
@ -3,18 +3,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "bmon-${version}";
|
name = "bmon-${version}";
|
||||||
version = "3.6";
|
version = "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tgraf";
|
owner = "tgraf";
|
||||||
repo = "bmon";
|
repo = "bmon";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "16qwazays2j448kmfckv6wvh4rhmhc9q4vp1s75hm9z02cmhvk8q";
|
sha256 = "0rh0r8gabcsqq3d659yqk8nz6y4smsi7p1vwa2v584m2l2d0rqd6";
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://github.com/tgraf/bmon/pull/24#issuecomment-98068887
|
|
||||||
postPatch = "sed '1i#include <net/if.h>' -i src/in_netlink.c";
|
|
||||||
|
|
||||||
buildInputs = [ autoconf automake pkgconfig ncurses confuse libnl ];
|
buildInputs = [ autoconf automake pkgconfig ncurses confuse libnl ];
|
||||||
|
|
||||||
preConfigure = "sh ./autogen.sh";
|
preConfigure = "sh ./autogen.sh";
|
||||||
|
Loading…
Reference in New Issue
Block a user