summary refs log tree commit diff
path: root/pkgs/tools/misc/mrtg/default.nix
blob: 5a427888857561ad9735fa3c9aa58ae0f42197bf (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.4";
  name = "mrtg-${version}";

  src = fetchurl {
    url = "http://oss.oetiker.ch/mrtg/pub/${name}.tar.gz";
    sha256 = "0r93ipscfp7py0b1dcx65s58q7dlwndqhprf8w4945a0h2p7zyjy";
  };

  buildInputs = [
    perl gd rrdtool
  ];

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