git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #59174 from dhl/dhl/development/tools/aws-sam-cli

aws-sam-cli: 0.5.0 -> 0.14.2

commitd190794b4a489fb3e8d0b4a39e417f2d15fd1963 authorMaximilian Bosch <maximilian@mbosch.me> dateMon 8 Apr 2019, 14:38 (8 years ago) parent6b682c0e5c07b8
1 file changed+49−13
pkgs/development/tools/aws-sam-cli/default.nix+49−13
pkgs/development/tools/aws-sam-cli/default.nix+49−13
@@ -2,43 +2,79 @@
22, python
33}:
44
5−with python.pkgs;
5+let
6+ py = python.override {
7+ packageOverrides = self: super: {
8+ click = super.click.overridePythonAttrs (oldAttrs: rec {
9+ version = "6.7";
10+ src = oldAttrs.src.override {
11+ inherit version;
12+ sha256 = "f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b";
13+ };
14+ });
15+
16+ requests = super.requests.overridePythonAttrs (oldAttrs: rec {
17+ version = "2.20.1";
18+ src = oldAttrs.src.override {
19+ inherit version;
20+ sha256 = "ea881206e59f41dbd0bd445437d792e43906703fff75ca8ff43ccdb11f33f263";
21+ };
22+ });
23+
24+ idna = super.idna.overridePythonAttrs (oldAttrs: rec {
25+ version = "2.7";
26+ src = oldAttrs.src.override {
27+ inherit version;
28+ sha256 = "684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16";
29+ };
30+ });
31+
32+ six = super.six.overridePythonAttrs (oldAttrs: rec {
33+ version = "1.11";
34+ src = oldAttrs.src.override {
35+ inherit version;
36+ sha256 = "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9";
37+ };
38+ });
39+ };
40+ };
41+
42+in
43+
44+with py.pkgs;
645
746buildPythonApplication rec {
847 pname = "aws-sam-cli";
9− version = "0.5.0";
48+ version = "0.14.2";
1049
1150 src = fetchPypi {
1251 inherit pname version;
13− sha256 = "2acf9517f467950adb4939746658091e60cf60ee80093ffd0d3d821cb8a1f9fc";
52+ sha256 = "b7f80838d57c1096a9a03ed703a91a8a5775a6ead33df8f31765ecf39b3a956f";
1453 };
1554
1655 # Tests are not included in the PyPI package
1756 doCheck = false;
1857
1958 propagatedBuildInputs = [
59+ aws-lambda-builders
2060 aws-sam-translator
21− boto3
61+ chevron
2262 click
2363 cookiecutter
2464 dateparser
2565 docker
26− enum34
2766 flask
28− python-dateutil
29− pyyaml
67+ idna
68+ pathlib2
69+ requests
70+ serverlessrepo
3071 six
3172 ];
3273
33− postPatch = ''
34− substituteInPlace ./requirements/base.txt \
35− --replace 'aws-sam-translator==1.6.0' 'aws-sam-translator>=1.6.0';
36− '';
37−
3874 meta = with lib; {
3975 homepage = https://github.com/awslabs/aws-sam-cli;
4076 description = "CLI tool for local development and testing of Serverless applications";
4177 license = licenses.asl20;
42− maintainers = with maintainers; [ andreabedini ];
78+ maintainers = with maintainers; [ andreabedini dhkl ];
4379 };
4480}