nixpkgs-suyu/pkgs/tools/misc/mrtg/default.nix

26 lines
575 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{ lib, stdenv, fetchurl, perl, gd, rrdtool }:
stdenv.mkDerivation rec {
pname = "mrtg";
2021-08-30 10:35:09 +02:00
version = "2.17.8";
src = fetchurl {
url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.tar.gz";
2021-08-30 10:35:09 +02:00
sha256 = "sha256-GsLgr2ng7N73VeeYylmDSreKwYXCpe/9t2hcWPLvAbQ=";
};
buildInputs = [
2021-08-30 10:35:09 +02:00
perl
gd
rrdtool
];
2021-08-30 10:35:09 +02:00
meta = with lib; {
description = "The Multi Router Traffic Grapher";
homepage = "https://oss.oetiker.ch/mrtg/";
2021-08-30 10:35:09 +02:00
license = licenses.gpl2Only;
maintainers = with maintainers; [ robberer ];
platforms = platforms.unix;
2016-08-02 17:51:05 +02:00
};
}