depot/third_party/nixpkgs/pkgs/development/python-modules/aws-sam-translator/default.nix
Default email b087c617d3 Project import generated by Copybara.
GitOrigin-RevId: bd017760509492a1774b0ea2fc5c1bbb4b2d98af
2020-10-20 19:27:49 +02:00

35 lines
752 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, boto3
, enum34
, jsonschema
, six
}:
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.27.0";
src = fetchPypi {
inherit pname version;
sha256 = "0m24cdiry8p74s5ysyriy6wks4ic8782sf21q4yvlwfn9hpi4n1j";
};
# Tests are not included in the PyPI package
doCheck = false;
propagatedBuildInputs = [
boto3
jsonschema
six
] ++ lib.optionals (pythonOlder "3.4") [ enum34 ];
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 ];
};
}