<commit_before>{stdenv, fetchurl}:

stdenv.mkDerivation {
  name = "id3lib-3.8.3";

  patches = [ ./id3lib-3.8.3-gcc43-1.patch ];
  
  src = fetchurl {
    url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz;
    md5 = "19f27ddd2dda4b2d26a559a4f0f402a7";
  };
}
<commit_msg>Updated id3lib to avoid building its own zlib, fixes #867<commit_after>{stdenv, fetchurl, zlib}:

stdenv.mkDerivation {
  name = "id3lib-3.8.3";

  patches = [ ./id3lib-3.8.3-gcc43-1.patch ];

  buildInputs = [ zlib ];
  
  src = fetchurl {
    url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz;
    md5 = "19f27ddd2dda4b2d26a559a4f0f402a7";
  };
}

{'fraction_non_alphanumeric': 0.1669316375198728, 'fraction_numerical': 0.11764705882352941, 'mean_word_length': 3.172185430463576, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3008635', 'n_tokens_mistral': 325, 'n_tokens_neox': 300, 'n_words': 38}