depot/third_party/nixpkgs/pkgs/development/python-modules/aws-sam-translator/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

34 lines
718 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, boto3
, enum34
, jsonschema
, six
}:
buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.36.0";
src = fetchPypi {
inherit pname version;
sha256 = "fa1b990d9329d19052e7b91cf0b19371ed9d31a529054b616005884cd662b584";
};
# 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;
};
}