nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, python
3}:
4
5with python.pkgs;
6
7buildPythonApplication rec {
8 pname = "aws-sam-cli";
9 version = "0.5.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "2acf9517f467950adb4939746658091e60cf60ee80093ffd0d3d821cb8a1f9fc";
14 };
15
16 # Tests are not included in the PyPI package
17 doCheck = false;
18
19 propagatedBuildInputs = [
20 aws-sam-translator
21 boto3
22 click
23 cookiecutter
24 dateparser
25 docker
26 enum34
27 flask
28 python-dateutil
29 pyyaml
30 six
31 ];
32
33 postPatch = ''
34 substituteInPlace ./requirements/base.txt \
35 --replace 'aws-sam-translator==1.6.0' 'aws-sam-translator>=1.6.0';
36 '';
37
38 meta = with lib; {
39 homepage = https://github.com/awslabs/aws-sam-cli;
40 description = "CLI tool for local development and testing of Serverless applications";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ andreabedini ];
43 };
44}