18 perl.pkgs.toPerlModule (
19 stdenv.mkDerivation rec {
23 src = fetchFromGitHub {
27 hash = "sha256-CPbSu1mosNlfj2nqiNVH14a5C5njkfvJM8ix3X3aP8E=";
31 patches = lib.optional stdenv.hostPlatform.isDarwin (fetchpatch {
32 url = "https://github.com/oetiker/rrdtool-1.x/pull/1262.patch";
33 hash = "sha256-aP0rmDlILn6VC8Tg7HpRXbxL9+KD/PRTbXnbQ7HgPEg=";
50 ++ lib.optionals stdenv.hostPlatform.isDarwin [
52 darwin.apple_sdk.frameworks.ApplicationServices
56 # for munin and rrdtool support
57 mkdir -p $out/${perl.libPrefix}
58 mv $out/lib/perl/5* $out/${perl.libPrefix}
62 homepage = "https://oss.oetiker.ch/rrdtool/";
63 description = "High performance logging in Round Robin Databases";
64 license = licenses.gpl2Only;
65 platforms = platforms.linux ++ platforms.darwin;
66 maintainers = with maintainers; [ pSub ];