nixpkgs/pkgs/development/tools/aws-sam-cli/default.nix

38 lines
718 B
Nix
Raw Normal View History

2018-06-12 15:15:06 +02:00
{ lib
, python
}:
2018-06-22 12:49:52 +02:00
with python.pkgs;
2018-06-12 15:15:06 +02:00
2018-06-22 12:49:52 +02:00
buildPythonApplication rec {
2018-06-12 15:15:06 +02:00
pname = "aws-sam-cli";
2018-06-22 12:49:52 +02:00
version = "0.4.0";
2018-06-12 15:15:06 +02:00
2018-06-22 12:49:52 +02:00
src = fetchPypi {
2018-06-12 15:15:06 +02:00
inherit pname version;
2018-06-22 12:49:52 +02:00
sha256 = "4740bfa23f39880d807aa75a2143259f7f15eec34c5fa5dde8fc04d8563ef521";
2018-06-12 15:15:06 +02:00
};
# Tests are not included in the PyPI package
doCheck = false;
2018-06-22 12:49:52 +02:00
propagatedBuildInputs = [
2018-06-12 15:15:06 +02:00
aws-sam-translator
boto3
click
cookiecutter
docker
enum34
flask
pyyaml
six
];
meta = with lib; {
homepage = https://github.com/awslabs/aws-sam-cli;
description = "CLI tool for local development and testing of Serverless applications";
license = licenses.asl20;
maintainers = with maintainers; [ andreabedini ];
};
}