<commit_before>{stdenv, fetchurl} :

stdenv.mkDerivation {
  name = "rxp-1.2.3";
  src = fetchurl {
    url = http://ftp.de.debian.org/debian/pool/main/r/rxp/rxp_1.2.3.orig.tar.gz;
    sha256 = "1r4khvmnl5231y37ji8f3mikxy0dhdz155wi3qihfi27mc1yv534";
  };
  NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";

  installPhase = ''
    mkdir -p $out/bin
    cp rxp $out/bin
  '';
  meta = {
    license = stdenv.lib.licenses.gpl2Plus;
    description = "a validating XML parser written in C";
    homepage = "http://www.cogsci.ed.ac.uk/~richard/rxp.html";
  };
}<commit_msg>rxp: update from 1.2.3 to 1.5.0<commit_after>{stdenv, fetchurl} :

stdenv.mkDerivation rec {
  name = "rxp-${version}";
  version = "1.5.0";

  src = fetchurl {
    url = "mirror://debian/pool/main/r/rxp/rxp_${version}.orig.tar.gz";
    sha256 = "0y365r36wzj4xn1dzhb03spxljnrx8vwqbiwnnwz4630129gzpm6";
  };

  meta = {
    license = stdenv.lib.licenses.gpl2Plus;
    description = "A validating XML parser written in C";
    homepage = http://www.cogsci.ed.ac.uk/~richard/rxp.html;
  };
}
{'fraction_non_alphanumeric': 0.1615678776290631, 'fraction_numerical': 0.06022944550669216, 'mean_word_length': 3.2560975609756095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4535962', 'n_tokens_mistral': 497, 'n_tokens_neox': 459, 'n_words': 65}