@@ -0,0 +1,37 @@
1+{ lib
2+, python
3+}:
4+
5+with python;
6+
7+pkgs.buildPythonApplication rec {
8+ pname = "aws-sam-cli";
9+ version = "0.3.0";
10+
11+ src = pkgs.fetchPypi {
12+ inherit pname version;
13+ sha256 = "7e7275a34e7e9d926198fd9516404310faa2a9681b7a8b0c8b2f9aa31aeb1bfb";
14+ };
15+
16+ # Tests are not included in the PyPI package
17+ doCheck = false;
18+
19+ propagatedBuildInputs = with pkgs; [
20+ aws-sam-translator
21+ boto3
22+ click
23+ cookiecutter
24+ docker
25+ enum34
26+ flask
27+ pyyaml
28+ six
29+ ];
30+
31+ meta = with lib; {
32+ homepage = https://github.com/awslabs/aws-sam-cli;
33+ description = "CLI tool for local development and testing of Serverless applications";
34+ license = licenses.asl20;
35+ maintainers = with maintainers; [ andreabedini ];
36+ };
37+}