<commit_before>{ stdenv, fetchurl, autoconf, automake }:

stdenv.mkDerivation rec {
  name = "unrtf-${version}";
  version = "0.21.9";

  src = fetchurl {
    url = "https://www.gnu.org/software/unrtf/${name}.tar.gz";
    sha256 = "1pcdzf2h1prn393dkvg93v80vh38q0v817xnbwrlwxbdz4k7i8r2";
  };

  buildInputs = [ autoconf automake ];

  preConfigure = "./bootstrap";

  meta = with stdenv.lib; {
    description = "A converter from Rich Text Format to other formats";
    longDescription = ''
      UnRTF converts documents in Rich Text Format to other
      formats, including HTML, LaTeX, and RTF itself.
    '';
    homepage = https://www.gnu.org/software/unrtf/;
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ joachifm ];
    platforms = platforms.unix;
  };
}
<commit_msg>unrtf: move build deps to nativeBuildInputs<commit_after>{ stdenv, fetchurl, autoconf, automake }:

stdenv.mkDerivation rec {
  name = "unrtf-${version}";
  version = "0.21.9";

  src = fetchurl {
    url = "https://www.gnu.org/software/unrtf/${name}.tar.gz";
    sha256 = "1pcdzf2h1prn393dkvg93v80vh38q0v817xnbwrlwxbdz4k7i8r2";
  };

  nativeBuildInputs = [ autoconf automake ];

  preConfigure = "./bootstrap";

  meta = with stdenv.lib; {
    description = "A converter from Rich Text Format to other formats";
    longDescription = ''
      UnRTF converts documents in Rich Text Format to other
      formats, including HTML, LaTeX, and RTF itself.
    '';
    homepage = https://www.gnu.org/software/unrtf/;
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ joachifm ];
    platforms = platforms.unix;
  };
}

{'fraction_non_alphanumeric': 0.12545899632802937, 'fraction_numerical': 0.03427172582619339, 'mean_word_length': 3.371657754010695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5755233', 'n_tokens_mistral': 621, 'n_tokens_neox': 587, 'n_words': 129}