2018-06-07 14:05:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, boto3
|
|
|
|
, enum34
|
|
|
|
, jsonschema
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aws-sam-translator";
|
2019-03-11 13:18:49 +00:00
|
|
|
version = "1.10.0";
|
2018-06-07 14:05:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-03-11 13:18:49 +00:00
|
|
|
sha256 = "0axr4598b1h9kyb5mv104cpn5q667s0g1wkkbqzj66vrqsaa07qf";
|
2018-06-07 14:05:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests are not included in the PyPI package
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
boto3
|
|
|
|
enum34
|
|
|
|
jsonschema
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/awslabs/serverless-application-model;
|
|
|
|
description = "Python library to transform SAM templates into AWS CloudFormation templates";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.andreabedini ];
|
|
|
|
};
|
|
|
|
}
|