2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl, gd, rrdtool }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mrtg";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "2.17.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.tar.gz";
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-GsLgr2ng7N73VeeYylmDSreKwYXCpe/9t2hcWPLvAbQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-09-18 10:52:07 +00:00
|
|
|
perl
|
|
|
|
gd
|
|
|
|
rrdtool
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "The Multi Router Traffic Grapher";
|
|
|
|
homepage = "https://oss.oetiker.ch/mrtg/";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ robberer ];
|
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|