Skip to content

Commit

Permalink
Merge pull request #41474 from andreabedini/aws-sam-translator
Browse files Browse the repository at this point in the history
pythonPackages.aws-sam-translator: init at 1.5.4
  • Loading branch information
dotlambda committed Jun 11, 2018
2 parents e387588 + b7a6dbe commit 1b452e4
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,11 @@
github = "andir";
name = "Andreas Rammhold";
};
andreabedini = {
email = "andrea@kzn.io";
github = "andreabedini";
name = "Andrea Bedini";
};
andres = {
email = "ksnixos@andres-loeh.de";
github = "kosmikus";
Expand Down
38 changes: 38 additions & 0 deletions pkgs/development/python-modules/aws-sam-translator/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, boto3
, enum34
, jsonschema
, six
}:

buildPythonPackage rec {
pname = "aws-sam-translator";
version = "1.5.4";

src = fetchPypi {
inherit pname version;
sha256 = "9d8a25e058c78d2cef5c07aec7f98cbc2070dbfc2eb6a2e102a16beafd14e3ca";
};

# 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ in {

automat = callPackage ../development/python-modules/automat { };

aws-sam-translator = callPackage ../development/python-modules/aws-sam-translator { };

aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { };

# packages defined elsewhere
Expand Down

0 comments on commit 1b452e4

Please sign in to comment.