mrtg: add ipv6-required perl packages

This commit is contained in:
Marcel 2024-05-22 18:23:44 +02:00
parent 0b49ef697b
commit c95f967105
No known key found for this signature in database
GPG Key ID: 446F3B093DF81C6A

View File

@ -1,5 +1,11 @@
{ lib, stdenv, fetchurl, perl, gd, rrdtool }:
let
perlWithPkgs = perl.withPackages (pp: with pp;[
Socket6
IOSocketINET6
]);
in
stdenv.mkDerivation rec {
pname = "mrtg";
version = "2.17.10";
@ -10,7 +16,9 @@ stdenv.mkDerivation rec {
};
buildInputs = [
perl
# add support for ipv6 snmp:
# https://github.com/oetiker/mrtg/blob/433ebfa5fc043971b46a5cd975fb642c76e3e49d/src/bin/mrtg#L331-L341
perlWithPkgs
gd
rrdtool
];