2014-12-06 08:05:29 +00:00
|
|
|
{ stdenv, fetchurl, perl, gd, rrdtool }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2018-07-18 18:26:17 +01:00
|
|
|
version = "2.17.7";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mrtg";
|
2014-12-06 08:05:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.tar.gz";
|
2018-07-18 18:26:17 +01:00
|
|
|
sha256 = "1hrjqfi290i936nblwpfzjn6v8d8p69frcrvml206nxiiwkcp54v";
|
2014-12-06 08:05:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
perl gd rrdtool
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Multi Router Traffic Grapher";
|
2020-04-01 02:11:51 +01: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 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-08-02 16:51:05 +01:00
|
|
|
};
|
2014-12-06 08:05:29 +00:00
|
|
|
}
|