depot/third_party/nixpkgs/pkgs/development/python-modules/aws-sam-translator/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

34 lines
718 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, boto3
, enum34
, jsonschema
, six
}:
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.35.0";
src = fetchPypi {
inherit pname version;
sha256 = "5cf7faab3566843f3b44ef1a42a9c106ffb50809da4002faab818076dcc7bff8";
};
# Tests are not included in the PyPI package
doCheck = false;
propagatedBuildInputs = [
boto3
jsonschema
six
] ++ lib.optionals (pythonOlder "3.4") [ enum34 ];
meta = with lib; {
homepage = "https://github.com/awslabs/serverless-application-model";
description = "Python library to transform SAM templates into AWS CloudFormation templates";
license = licenses.asl20;
};
}