<commit_before>{ stdenv, fetchFromGitHub, cppcheck, libmrss }:

let version = "2015-09-06"; in
stdenv.mkDerivation rec {
  name = "rsstail-${version}";

  src = fetchFromGitHub {
    sha256 = "1rfzib5fzm0i8wf3njld1lvxgbci0hxxnvp2qx1k4bwpv744xkpx";
    rev = "16636539e4cc75dafbfa7f05539769be7dad4b66";
    repo = "rsstail";
    owner = "flok99";
  };

  buildInputs = [ libmrss ]
    ++ stdenv.lib.optional doCheck cppcheck;

  postPatch = ''
    substituteInPlace Makefile --replace -liconv ""
  '';

  makeFlags = "prefix=$(out)";
  enableParallelBuilding = true;

  doCheck = true;<commit_msg>rsstail 2015-09-06 -> 2.1<commit_after>{ stdenv, fetchFromGitHub, cppcheck, libmrss }:

let version = "2.1"; in
stdenv.mkDerivation rec {
  name = "rsstail-${version}";

  src = fetchFromGitHub {
    sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
    rev = "6f2436185372b3f945a4989406c4b6a934fe8a95";
    repo = "rsstail";
    owner = "flok99";
  };

  buildInputs = [ libmrss ]
    ++ stdenv.lib.optional doCheck cppcheck;

  postPatch = ''
    substituteInPlace Makefile --replace -liconv_hook ""
  '';

  makeFlags = "prefix=$(out)";
  enableParallelBuilding = true;

  doCheck = true;
{'fraction_non_alphanumeric': 0.129783693843594, 'fraction_numerical': 0.09816971713810316, 'mean_word_length': 3.991701244813278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3400620', 'n_tokens_mistral': 568, 'n_tokens_neox': 500, 'n_words': 79}