<commit_before>{ stdenv
, buildPythonPackage
, fetchPyPi

, attrs
, pyasn1-modules
, pyopenssl
, pytest
}:

let
  inherit (stdenv.lib)
    optionals;

  version = "16.0.0";
in
buildPythonPackage rec {
  name = "service_identity-${version}";

  src = fetchPyPi {
    package = "service_identity";
    inherit version;
    sha256 = "0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036";
  };

  propagatedBuildInputs = [
    attrs
    pyasn1-modules
    pyopenssl
  ];

  buildInputs = optionals doCheck [
    pytest
  ];

  doCheck = true;

  meta = with stdenv.lib; {
    description = "Service identity verification for pyOpenSSL";
    homepage = https://github.com/pyca/service_identity;
    license = licenses.bsd3;
    maintainers = with maintainers; [
      wkennington
      codyopel
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}
<commit_msg>service-identity: Fix<commit_after>{ stdenv
, buildPythonPackage
, fetchPyPi

, attrs
, pyasn1
, pyasn1-modules
, pyopenssl
, pytest
}:

let
  inherit (stdenv.lib)
    optionals;

  version = "16.0.0";
in
buildPythonPackage rec {
  name = "service_identity-${version}";

  src = fetchPyPi {
    package = "service_identity";
    inherit version;
    sha256 = "0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036";
  };

  propagatedBuildInputs = [
    attrs
    pyasn1
    pyasn1-modules
    pyopenssl
  ];

  buildInputs = optionals doCheck [
    pytest
  ];

  doCheck = true;

  meta = with stdenv.lib; {
    description = "Service identity verification for pyOpenSSL";
    homepage = https://github.com/pyca/service_identity;
    license = licenses.bsd3;
    maintainers = with maintainers; [
      wkennington
      codyopel
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}

{'fraction_non_alphanumeric': 0.09888268156424582, 'fraction_numerical': 0.061452513966480445, 'mean_word_length': 3.1267281105990783, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '923983', 'n_tokens_mistral': 711, 'n_tokens_neox': 652, 'n_words': 121}