<commit_before>{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonApplication rec {
  pname = "matrix-dl-unstable";
  version = "2019-09-22";

  src = fetchFromGitHub {
    owner = "rubo77";
    repo = "matrix-dl";
    rev = "e91610f45b7b3b0aca34923309fc83ba377f8a69";
    sha256 = "036xfdd21pcfjlilknc67z5jqpk0vz07853wwcsiac32iypc6f2q";
  };

  propagatedBuildInputs = with python3Packages; [
    matrix-client
  ];

  meta = with lib; {
    description = "Download backlogs from Matrix as raw text";
    homepage = src.meta.homepage;
    license = licenses.gpl1Plus;
    maintainers = with maintainers; [ aw ];
    platforms = platforms.unix;
  };
}
<commit_msg>matrix-dl: (unstable-)2019-09-22 -> unstable-2020-07-14<commit_after>{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonApplication rec {
  pname = "matrix-dl";
  version = "unstable-2020-07-14";

  src = fetchFromGitHub {
    owner = "rubo77";
    repo = pname;
    rev = "b1a86d1421f39ee327284e1023f09dc165e3c8a5";
    sha256 = "1l8nh8z7kz24v0wcy3ll3w6in2yxwa1yz8lyc3x0blz37d8ss4ql";
  };

  propagatedBuildInputs = with python3Packages; [
    matrix-client
  ];

  meta = with lib; {
    description = "Download backlogs from Matrix as raw text";
    homepage = src.meta.homepage;
    license = licenses.gpl1Plus;
    maintainers = with maintainers; [ aw ];
    platforms = platforms.unix;
  };
}

{'fraction_non_alphanumeric': 0.11182336182336182, 'fraction_numerical': 0.09971509971509972, 'mean_word_length': 3.795221843003413, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1373961', 'n_tokens_mistral': 604, 'n_tokens_neox': 526, 'n_words': 92}