<commit_before>{ fetchurl, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff }:

stdenv.mkDerivation rec {
  name = "rrdtool-1.5.5";
  src = fetchurl {
    url = "http://oss.oetiker.ch/rrdtool/pub/${name}.tar.gz";
    sha256 = "1xm6ikzx8iaa6r7v292k8s7srkzhnifamp1szkimgmh5ki26sa1s";
  };
  buildInputs = [ gettext perl pkgconfig libxml2 pango cairo groff ];
  
  postInstall = ''
    # for munin support
    mv $out/lib/perl/5*/*/*.pm $out/lib/perl/5*/
  '';

  meta = with stdenv.lib; {
    homepage = http://oss.oetiker.ch/rrdtool/;
    description = "High performance logging in Round Robin Databases";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ pSub ];
  };
}<commit_msg>rrdtool: move perl libraries to the expected place<commit_after>{ fetchurl, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff }:

stdenv.mkDerivation rec {
  name = "rrdtool-1.5.5";
  src = fetchurl {
    url = "http://oss.oetiker.ch/rrdtool/pub/${name}.tar.gz";
    sha256 = "1xm6ikzx8iaa6r7v292k8s7srkzhnifamp1szkimgmh5ki26sa1s";
  };
  buildInputs = [ gettext perl pkgconfig libxml2 pango cairo groff ];
  
  postInstall = ''
    # for munin and rrdtool support
    mkdir -p $out/lib/perl5/site_perl/
    mv $out/lib/perl/5* $out/lib/perl5/site_perl/
  '';

  meta = with stdenv.lib; {
    homepage = http://oss.oetiker.ch/rrdtool/;
    description = "High performance logging in Round Robin Databases";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ pSub ];
  };
}
{'fraction_non_alphanumeric': 0.13489550348321722, 'fraction_numerical': 0.03356554781507283, 'mean_word_length': 3.401114206128134, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6797177', 'n_tokens_mistral': 645, 'n_tokens_neox': 619, 'n_words': 124}