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 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/";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.robberer ];
|
|
|
|
platforms = lib.platforms.unix;
|
2016-08-02 16:51:05 +01:00
|
|
|
};
|
2014-12-06 08:05:29 +00:00
|
|
|
}
|