1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, boto3
6, enum34
7, jsonschema
8, six
9}:
10
11buildPythonPackage rec {
12 pname = "aws-sam-translator";
13 version = "1.6.1";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "23160f717bd65de810fa538b7c145eae4384d10adb460e375d148de7f283bd10";
18 };
19
20 # Tests are not included in the PyPI package
21 doCheck = false;
22
23 disabled = isPy3k;
24
25 propagatedBuildInputs = [
26 boto3
27 enum34
28 jsonschema
29 six
30 ];
31
32 meta = {
33 homepage = https://github.com/awslabs/serverless-application-model;
34 description = "Python library to transform SAM templates into AWS CloudFormation templates";
35 license = lib.licenses.asl20;
36 maintainers = [ lib.maintainers.andreabedini ];
37 };
38}