19 buildPythonPackage rec {
20 pname = "aws-sam-translator";
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
28 repo = "serverless-application-model";
30 hash = "sha256-jcRpn9STkfg1xTwYzkpoYyuG0Hrv0XnbW1h6+SxzEjA=";
34 # don't try to use --cov or fail on new warnings
38 build-system = [ setuptools ];
57 export AWS_DEFAULT_REGION=us-east-1
67 "test_plugin_accepts_different_sar_client"
68 "test_plugin_accepts_flags"
69 "test_plugin_accepts_parameters"
70 "test_plugin_default_values"
71 "test_plugin_invalid_configuration_raises_exception"
72 "test_plugin_must_setup_correct_name"
73 "test_must_process_applications"
74 "test_must_process_applications_validate"
75 "test_process_invalid_applications"
76 "test_process_invalid_applications_validate"
77 "test_resolve_intrinsics"
78 "test_sar_service_calls"
79 "test_sar_success_one_app"
80 "test_sar_throttling_doesnt_stop_processing"
81 "test_sleep_between_sar_checks"
82 "test_unexpected_sar_error_stops_processing"
85 __darwinAllowLocalNetworking = true;
87 pythonImportsCheck = [ "samtranslator" ];
90 description = "Python library to transform SAM templates into AWS CloudFormation templates";
91 homepage = "https://github.com/aws/serverless-application-model";
92 changelog = "https://github.com/aws/serverless-application-model/releases/tag/v${version}";
93 license = licenses.asl20;