1{ stdenv, fetchurl, perl, gd, rrdtool }:
2
3stdenv.mkDerivation rec {
4
5 version = "2.17.7";
6 name = "mrtg-${version}";
7
8 src = fetchurl {
9 url = "https://oss.oetiker.ch/mrtg/pub/${name}.tar.gz";
10 sha256 = "1hrjqfi290i936nblwpfzjn6v8d8p69frcrvml206nxiiwkcp54v";
11 };
12
13 buildInputs = [
14 perl gd rrdtool
15 ];
16
17 meta = {
18 description = "The Multi Router Traffic Grapher";
19 homepage = https://oss.oetiker.ch/mrtg/;
20 license = stdenv.lib.licenses.gpl2;
21 maintainers = [ stdenv.lib.maintainers.robberer ];
22 platforms = stdenv.lib.platforms.unix;
23 };
24}