15 buildPythonPackage rec {
16 pname = "aws-sam-translator";
18 format = "setuptools";
20 disabled = pythonOlder "3.6";
22 src = fetchFromGitHub {
24 repo = "serverless-application-model";
25 rev = "refs/tags/v${version}";
26 sha256 = "sha256-FYEJ+mMxb8+OXUVeyLbAqOnujNi/wNhvAl4Lh4ZeE0I=";
29 propagatedBuildInputs = [
36 substituteInPlace requirements/base.txt \
37 --replace "jsonschema~=3.2" "jsonschema>=3.2"
38 substituteInPlace pytest.ini \
39 --replace " --cov samtranslator --cov-report term-missing --cov-fail-under 95" ""
51 # AssertionError: Expected 7 errors, found 9:
52 "test_errors_13_error_definitionuri"
55 pythonImportsCheck = [
60 description = "Python library to transform SAM templates into AWS CloudFormation templates";
61 homepage = "https://github.com/awslabs/serverless-application-model";
62 license = licenses.asl20;
63 maintainers = with maintainers; [ ];