Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 35 lines 764 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, boto3 6, enum34 7, jsonschema 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "aws-sam-translator"; 13 version = "1.26.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "1a3fd8e48a745967e8457b9cefdc3ad0f139ac4a25af4db9c13a9e1c19ea6910"; 18 }; 19 20 # Tests are not included in the PyPI package 21 doCheck = false; 22 23 propagatedBuildInputs = [ 24 boto3 25 jsonschema 26 six 27 ] ++ lib.optionals (pythonOlder "3.4") [ enum34 ]; 28 29 meta = { 30 homepage = "https://github.com/awslabs/serverless-application-model"; 31 description = "Python library to transform SAM templates into AWS CloudFormation templates"; 32 license = lib.licenses.asl20; 33 maintainers = [ lib.maintainers.andreabedini ]; 34 }; 35}