<commit_before>{ stdenv, fetchurl, pkgconfig, xapian, perl, pcre, zlib, libmagic }:

stdenv.mkDerivation rec {
  name = "xapian-omega-${version}";
  version = "1.4.0";

  src = fetchurl {
    url = "http://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
    sha256 = "07s341m1csk4v7mc44mqrzc1nxpnmdkji9k1cirbx6q0nlshdz0h";
  };

  buildInputs = [ pkgconfig xapian perl pcre zlib libmagic ];

  meta = with stdenv.lib; {
    description = "Indexer and CGI search front-end built on Xapian library";
    homepage = http://xapian.org/;
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
  };
}
<commit_msg>xapian-omega: pin to xapian library version<commit_after>{ stdenv, fetchurl, pkgconfig, xapian, perl, pcre, zlib, libmagic }:

stdenv.mkDerivation rec {
  name = "xapian-omega-${version}";
  version = (builtins.parseDrvName xapian.name).version;

  src = fetchurl {
    url = "http://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
    sha256 = "07s341m1csk4v7mc44mqrzc1nxpnmdkji9k1cirbx6q0nlshdz0h";
  };

  buildInputs = [ pkgconfig xapian perl pcre zlib libmagic ];

  meta = with stdenv.lib; {
    description = "Indexer and CGI search front-end built on Xapian library";
    homepage = http://xapian.org/;
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
  };
}

{'fraction_non_alphanumeric': 0.1352765321375187, 'fraction_numerical': 0.032137518684603884, 'mean_word_length': 3.869090909090909, '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': '6258150', 'n_tokens_mistral': 554, 'n_tokens_neox': 527, 'n_words': 100}