python311Packages.aws-sam-translator: 1.60.1 -> 1.73.0
Diff: https://github.com/aws/serverless-application-model/compare/refs/tags/v1.60.1...v1.73.0
This commit is contained in:
parent
6dc3a5b506
commit
a253ead568
1 changed files with 10 additions and 7 deletions
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||||
version = "1.73.0";
|
version = "1.73.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aws";
|
owner = "aws";
|
||||||
|
@ -28,6 +28,11 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-rj+q/06gIvPYTJP/EH9ZrP0Sp4J3K1aCRyNkgpphWP4=";
|
hash = "sha256-rj+q/06gIvPYTJP/EH9ZrP0Sp4J3K1aCRyNkgpphWP4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pytest.ini \
|
||||||
|
--replace " --cov samtranslator --cov-report term-missing --cov-fail-under 95" ""
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
boto3
|
boto3
|
||||||
jsonschema
|
jsonschema
|
||||||
|
@ -35,12 +40,6 @@ buildPythonPackage rec {
|
||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
|
||||||
sed -i '2ienv =\n\tAWS_DEFAULT_REGION=us-east-1' pytest.ini
|
|
||||||
substituteInPlace pytest.ini \
|
|
||||||
--replace " --cov samtranslator --cov-report term-missing --cov-fail-under 95" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
parameterized
|
parameterized
|
||||||
pytest-env
|
pytest-env
|
||||||
|
@ -54,6 +53,10 @@ buildPythonPackage rec {
|
||||||
"samtranslator"
|
"samtranslator"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
sed -i '2ienv =\n\tAWS_DEFAULT_REGION=us-east-1' pytest.ini
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library to transform SAM templates into AWS CloudFormation templates";
|
description = "Python library to transform SAM templates into AWS CloudFormation templates";
|
||||||
homepage = "https://github.com/aws/serverless-application-model";
|
homepage = "https://github.com/aws/serverless-application-model";
|
||||||
|
|
Loading…
Reference in a new issue