<commit_before>{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "dictpath";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "p1c2u";
    repo = "dictpath";
    rev = version;
    sha256 = "0314i8wky2z83a66zggc53m8qa1rjgkrznrl2ixsgiq0prcn6v16";
  };

  postPatch = ''
    sed -i "/^addopts/d" setup.cfg
  '';

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "dictpath" ];

  meta = with lib; {<commit_msg>python3Packages.dictpath: add six to check deps<commit_after>{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, six
}:

buildPythonPackage rec {
  pname = "dictpath";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "p1c2u";
    repo = "dictpath";
    rev = version;
    sha256 = "0314i8wky2z83a66zggc53m8qa1rjgkrznrl2ixsgiq0prcn6v16";
  };

  postPatch = ''
    sed -i "/^addopts/d" setup.cfg
  '';

  checkInputs = [
    pytestCheckHook
    six
  ];

  pythonImportsCheck = [ "dictpath" ];

  meta = with lib; {
{'fraction_non_alphanumeric': 0.12743190661478598, 'fraction_numerical': 0.053501945525291826, 'mean_word_length': 3.2875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4327806', 'n_tokens_mistral': 442, 'n_tokens_neox': 417, 'n_words': 73}