vnstat: add image output (gd) support
This commit is contained in:
parent
b8a7875d64
commit
9ecc0612f9
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ncurses }:
|
||||
{ stdenv, fetchurl, gd, ncurses }:
|
||||
|
||||
let version = "1.15"; in
|
||||
stdenv.mkDerivation rec {
|
||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
url = "http://humdi.net/vnstat/${name}.tar.gz";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
buildInputs = [ gd ncurses ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/cfg.c --replace /usr/local $out
|
||||
|
Loading…
Reference in New Issue
Block a user