2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl, gd, rrdtool }:
|
2014-12-06 08:05:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2018-07-18 17:26:17 +00:00
|
|
|
version = "2.17.7";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mrtg";
|
2014-12-06 08:05:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://oss.oetiker.ch/mrtg/";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.robberer ];
|
|
|
|
platforms = lib.platforms.unix;
|
2016-08-02 15:51:05 +00:00
|
|
|
};
|
2014-12-06 08:05:29 +00:00
|
|
|
}
|