Merge pull request #245602 from hulr/aws-sam-translator

python3Packages.aws-sam-translator: 1.60.1 -> 1.73.0

authored by Mario Rodas and committed by GitHub 3cf83b95 b6e90c95

+5 -18
+5 -18
pkgs/development/python-modules/aws-sam-translator/default.nix
··· 2 , boto3 3 , buildPythonPackage 4 , fetchFromGitHub 5 - , fetchpatch 6 , jsonschema 7 - , mock 8 , parameterized 9 , pydantic 10 , pytest-env ··· 18 19 buildPythonPackage rec { 20 pname = "aws-sam-translator"; 21 - version = "1.60.1"; 22 format = "setuptools"; 23 24 disabled = pythonOlder "3.6"; ··· 27 owner = "aws"; 28 repo = "serverless-application-model"; 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-exVB1STX8OsFnQ0pzSuR3O/FrvG2GR5MdZa8tZ9IJvI="; 31 }; 32 33 propagatedBuildInputs = [ ··· 37 typing-extensions 38 ]; 39 40 - patches = [ 41 - (fetchpatch { 42 - # relax typing-extenions dependency 43 - url = "https://github.com/aws/serverless-application-model/commit/d1c26f7ad9510a238ba570d511d5807a81379d0a.patch"; 44 - hash = "sha256-nh6MtRgi0RrC8xLkLbU6/Ec0kYtxIG/fgjn/KLiAM0E="; 45 - }) 46 - ]; 47 - 48 - postPatch = '' 49 - substituteInPlace requirements/base.txt \ 50 - --replace "jsonschema~=3.2" "jsonschema>=3.2" 51 substituteInPlace pytest.ini \ 52 --replace " --cov samtranslator --cov-report term-missing --cov-fail-under 95" "" 53 ''; ··· 61 pyyaml 62 ]; 63 64 - doCheck = false; # tests fail in weird ways 65 - 66 pythonImportsCheck = [ 67 "samtranslator" 68 ]; 69 70 meta = with lib; { 71 description = "Python library to transform SAM templates into AWS CloudFormation templates"; 72 - homepage = "https://github.com/awslabs/serverless-application-model"; 73 license = licenses.asl20; 74 maintainers = with maintainers; [ ]; 75 };
··· 2 , boto3 3 , buildPythonPackage 4 , fetchFromGitHub 5 , jsonschema 6 , parameterized 7 , pydantic 8 , pytest-env ··· 16 17 buildPythonPackage rec { 18 pname = "aws-sam-translator"; 19 + version = "1.73.0"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.6"; ··· 25 owner = "aws"; 26 repo = "serverless-application-model"; 27 rev = "refs/tags/v${version}"; 28 + hash = "sha256-rj+q/06gIvPYTJP/EH9ZrP0Sp4J3K1aCRyNkgpphWP4="; 29 }; 30 31 propagatedBuildInputs = [ ··· 35 typing-extensions 36 ]; 37 38 + preCheck = '' 39 + sed -i '2ienv =\n\tAWS_DEFAULT_REGION=us-east-1' pytest.ini 40 substituteInPlace pytest.ini \ 41 --replace " --cov samtranslator --cov-report term-missing --cov-fail-under 95" "" 42 ''; ··· 50 pyyaml 51 ]; 52 53 pythonImportsCheck = [ 54 "samtranslator" 55 ]; 56 57 meta = with lib; { 58 description = "Python library to transform SAM templates into AWS CloudFormation templates"; 59 + homepage = "https://github.com/aws/serverless-application-model"; 60 license = licenses.asl20; 61 maintainers = with maintainers; [ ]; 62 };