792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
25 lines
576 B
Nix
25 lines
576 B
Nix
{ lib, stdenv, fetchurl, perl, gd, rrdtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mrtg";
|
|
version = "2.17.10";
|
|
|
|
src = fetchurl {
|
|
url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-x/EcteIXpQDYfuO10mxYqGUu28DTKRaIu3krAQ+uQ6w=";
|
|
};
|
|
|
|
buildInputs = [
|
|
perl
|
|
gd
|
|
rrdtool
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "The Multi Router Traffic Grapher";
|
|
homepage = "https://oss.oetiker.ch/mrtg/";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ robberer ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|