depot/third_party/nixpkgs/pkgs/development/python-modules/aws-sam-translator/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

34 lines
705 B
Nix

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