depot/third_party/nixpkgs/pkgs/tools/misc/mrtg/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

25 lines
575 B
Nix

{ lib, stdenv, fetchurl, perl, gd, rrdtool }:
stdenv.mkDerivation rec {
pname = "mrtg";
version = "2.17.8";
src = fetchurl {
url = "https://oss.oetiker.ch/mrtg/pub/${pname}-${version}.tar.gz";
sha256 = "sha256-GsLgr2ng7N73VeeYylmDSreKwYXCpe/9t2hcWPLvAbQ=";
};
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;
};
}