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