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