<commit_before>{ lib
, python
}:

with python.pkgs;

buildPythonApplication rec {
  pname = "aws-sam-cli";
  version = "0.4.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "4740bfa23f39880d807aa75a2143259f7f15eec34c5fa5dde8fc04d8563ef521";
  };

  # Tests are not included in the PyPI package
  doCheck = false;

  propagatedBuildInputs = [
    aws-sam-translator
    boto3
    click
    cookiecutter
    docker
    enum34
    flask
    pyyaml
    six
  ];

  meta = with lib; {
    homepage = https://github.com/awslabs/aws-sam-cli;
    description = "CLI tool for local development and testing of Serverless applications";
    license = licenses.asl20;
    maintainers = with maintainers; [ andreabedini ];
  };
}<commit_msg>aws-sam-cli: 0.4.0 -> 0.5.0<commit_after>{ lib
, python
}:

with python.pkgs;

buildPythonApplication rec {
  pname = "aws-sam-cli";
  version = "0.5.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "2acf9517f467950adb4939746658091e60cf60ee80093ffd0d3d821cb8a1f9fc";
  };

  # Tests are not included in the PyPI package
  doCheck = false;

  propagatedBuildInputs = [
    aws-sam-translator
    boto3
    click
    cookiecutter
    dateparser
    docker
    enum34
    flask
    python-dateutil
    pyyaml
    six
  ];

  postPatch = ''
    substituteInPlace ./requirements/base.txt \
      --replace 'aws-sam-translator==1.6.0' 'aws-sam-translator>=1.6.0';
  '';

  meta = with lib; {
    homepage = https://github.com/awslabs/aws-sam-cli;
    description = "CLI tool for local development and testing of Serverless applications";
    license = licenses.asl20;
    maintainers = with maintainers; [ andreabedini ];
  };
}
{'fraction_non_alphanumeric': 0.10463733650416171, 'fraction_numerical': 0.06837098692033294, 'mean_word_length': 2.9139534883720932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6880127', 'n_tokens_mistral': 668, 'n_tokens_neox': 607, 'n_words': 130}