2014-12-06 08:05:29 +00:00
|
|
|
{ stdenv, fetchurl, perl, gd, rrdtool }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2018-07-18 17:26:17 +00:00
|
|
|
version = "2.17.7";
|
2014-12-06 08:05:29 +00:00
|
|
|
name = "mrtg-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-05 19:42:46 +00:00
|
|
|
url = "https://oss.oetiker.ch/mrtg/pub/${name}.tar.gz";
|
2018-07-18 17:26:17 +00:00
|
|
|
sha256 = "1hrjqfi290i936nblwpfzjn6v8d8p69frcrvml206nxiiwkcp54v";
|
2014-12-06 08:05:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
perl gd rrdtool
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Multi Router Traffic Grapher";
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://oss.oetiker.ch/mrtg/;
|
2014-12-06 08:05:29 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.robberer ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-08-02 15:51:05 +00:00
|
|
|
};
|
2014-12-06 08:05:29 +00:00
|
|
|
}
|