<commit_before>{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  meta = {
    description = "A simple but powerful template language for C++";
    longDescription = ''
      CTemplate is a simple but powerful template language for C++. It
      emphasizes separating logic from presentation: it is impossible to
      embed application logic in this template language.  '';
    homepage = http://code.google.com/p/google-ctemplate/;
    license = "bsd";
  };

  pname = "ctemplate";
  version = "2.0";
  name = "${pname}-${version}";

  src = fetchurl {
    url = "http://ctemplate.googlecode.com/files/${name}.tar.gz";
    sha256 = "0scdqqbp8fy9jiak60dj1051gbyb8xmlm4rdz4h1myxifjagwbfa";
  };
}
<commit_msg>ctemplate: minor update to fix build with gcc>=4.7<commit_after>{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  meta = {
    description = "A simple but powerful template language for C++";
    longDescription = ''
      CTemplate is a simple but powerful template language for C++. It
      emphasizes separating logic from presentation: it is impossible to
      embed application logic in this template language.  '';
    homepage = http://code.google.com/p/google-ctemplate/;
    license = "bsd";
  };

  pname = "ctemplate";
  version = "2.2";
  name = "${pname}-${version}";

  src = fetchurl {
    url = "http://ctemplate.googlecode.com/files/${name}.tar.gz";
    sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4";
  };
}

{'fraction_non_alphanumeric': 0.12646048109965635, 'fraction_numerical': 0.027491408934707903, 'mean_word_length': 3.425531914893617, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '929993', 'n_tokens_mistral': 503, 'n_tokens_neox': 497, 'n_words': 125}