38 lines
741 B
Nix
38 lines
741 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, boto3
|
|
, enum34
|
|
, jsonschema
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aws-sam-translator";
|
|
version = "1.6.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1da15d459150eb631af4f400ca336901da6a564b543fe3d7a75169ca2c9f36cb";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|