<commit_before>{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, CommonMark
, docutils
, sphinx
}:

buildPythonPackage rec {
  pname = "recommonmark";
  version = "0.6.0";

  # PyPI tarball is missing some test files: https://github.com/rtfd/recommonmark/pull/128
  src = fetchFromGitHub {
    owner = "rtfd";
    repo = pname;
    rev = version;
    sha256 = "0m6qk17irka448vcz5b39yck1qsq90k98dmkx80mni0w00yq9ggd";
  };

  checkInputs = [ pytestCheckHook ];
  propagatedBuildInputs = [ CommonMark docutils sphinx ];

  dontUseSetuptoolsCheck = true;

  disabledTests = [
    # https://github.com/readthedocs/recommonmark/issues/164
    "test_lists"
    "test_integration"
  ];

  meta = {
    description = "A docutils-compatibility bridge to CommonMark";
    homepage = "https://github.com/rtfd/recommonmark";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fridh ];
    broken = true; #broke until it works with sphinx 3
  };
}<commit_msg>python.pkgs.recommonmark: fix eval<commit_after>{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, CommonMark
, docutils
, sphinx
, isPy3k
}:

buildPythonPackage rec {
  pname = "recommonmark";
  version = "0.6.0";

  # PyPI tarball is missing some test files: https://github.com/rtfd/recommonmark/pull/128
  src = fetchFromGitHub {
    owner = "rtfd";
    repo = pname;
    rev = version;
    sha256 = "0m6qk17irka448vcz5b39yck1qsq90k98dmkx80mni0w00yq9ggd";
  };

  checkInputs = [ pytestCheckHook ];
  propagatedBuildInputs = [ CommonMark docutils sphinx ];

  dontUseSetuptoolsCheck = true;

  disabledTests = [
    # https://github.com/readthedocs/recommonmark/issues/164
    "test_lists"
    "test_integration"
  ];

  disabled = isPy3k; # Not yet compatible with latest Sphinx.

  meta = {
    description = "A docutils-compatibility bridge to CommonMark";
    homepage = "https://github.com/rtfd/recommonmark";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fridh ];
  };
}
{'fraction_non_alphanumeric': 0.11127744510978044, 'fraction_numerical': 0.0344311377245509, 'mean_word_length': 3.6955503512880563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6643922', 'n_tokens_mistral': 761, 'n_tokens_neox': 710, 'n_words': 138}