summary refs log tree commit diff
path: root/pkgs/tools/misc/mrtg/default.nix
blob: 922592a256d05efb1b00e1ed0b26a35e1887c14e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, perl, gd, rrdtool }:

stdenv.mkDerivation rec {

  version = "2.17.7";
  pname = "mrtg";

  src = fetchurl {
    url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.tar.gz";
    sha256 = "1hrjqfi290i936nblwpfzjn6v8d8p69frcrvml206nxiiwkcp54v";
  };

  buildInputs = [
    perl gd rrdtool
  ];

  meta = {
    description = "The Multi Router Traffic Grapher";
    homepage = https://oss.oetiker.ch/mrtg/;
    license = stdenv.lib.licenses.gpl2;
    maintainers = [ stdenv.lib.maintainers.robberer ];
    platforms = stdenv.lib.platforms.unix;
  };
}