<commit_before>{ stdenv, fetchurl, pkgconfig, glib, freetype, gettext }:

stdenv.mkDerivation rec {
  name = "harfbuzz-0.9.12";

  src = fetchurl {
    url = "http://www.freedesktop.org/software/harfbuzz/release/${name}.tar.bz2";
    sha256 = "19cx5y2m20rp7z5j7mwqfb4ph2g8lrri69zim44x362y4w5gfly6";
  };

  buildInputs = [ pkgconfig glib freetype ] ++ stdenv.lib.optional (!stdenv.isLinux) gettext;

  meta = {
    description = "An OpenType text shaping engine";
    homepage = http://www.freedesktop.org/wiki/Software/HarfBuzz;
    maintainers = [ stdenv.lib.maintainers.eelco ];
    platforms = stdenv.lib.platforms.linux;
  };
}<commit_msg>Replaced ad-hoc gettext buildinput by libintlOrEmpty<commit_after>{ stdenv, fetchurl, pkgconfig, glib, freetype, libintlOrEmpty }:

stdenv.mkDerivation rec {
  name = "harfbuzz-0.9.12";

  src = fetchurl {
    url = "http://www.freedesktop.org/software/harfbuzz/release/${name}.tar.bz2";
    sha256 = "19cx5y2m20rp7z5j7mwqfb4ph2g8lrri69zim44x362y4w5gfly6";
  };

  buildInputs = [ pkgconfig glib freetype libintlOrEmpty ];

  meta = {
    description = "An OpenType text shaping engine";
    homepage = http://www.freedesktop.org/wiki/Software/HarfBuzz;
    maintainers = [ stdenv.lib.maintainers.eelco ];
    platforms = stdenv.lib.platforms.linux;
  };
}
{'fraction_non_alphanumeric': 0.13153846153846155, 'fraction_numerical': 0.046153846153846156, 'mean_word_length': 4.062256809338521, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, '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': '6431744', 'n_tokens_mistral': 553, 'n_tokens_neox': 514, 'n_words': 77}