2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl, perl, gd, rrdtool }:
|
2014-12-06 09:05:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mrtg";
|
2021-08-30 10:35:09 +02:00
|
|
|
version = "2.17.8";
|
2014-12-06 09:05:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.tar.gz";
|
2021-08-30 10:35:09 +02:00
|
|
|
sha256 = "sha256-GsLgr2ng7N73VeeYylmDSreKwYXCpe/9t2hcWPLvAbQ=";
|
2014-12-06 09:05:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-08-30 10:35:09 +02:00
|
|
|
perl
|
|
|
|
gd
|
|
|
|
rrdtool
|
2014-12-06 09:05:29 +01:00
|
|
|
];
|
|
|
|
|
2021-08-30 10:35:09 +02:00
|
|
|
meta = with lib; {
|
2014-12-06 09:05:29 +01:00
|
|
|
description = "The Multi Router Traffic Grapher";
|
2020-04-01 03:11:51 +02:00
|
|
|
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
|
|
|
};
|
2014-12-06 09:05:29 +01:00
|
|
|
}
|