aws-sam-cli: 0.44.0 -> 1.0.0rc1
This commit is contained in:
parent
2fea6a2a64
commit
c0e9bc1cf8
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
{ fetchFromGitHub
|
||||
, lib
|
||||
, python
|
||||
, enableTelemetry ? false
|
||||
}:
|
||||
@ -6,6 +7,14 @@
|
||||
let
|
||||
py = python.override {
|
||||
packageOverrides = self: super: {
|
||||
aws-sam-translator = super.aws-sam-translator.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.25.0";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "08756yl5lpqgrpr80f2b6bdcgygr37l6q1yygklcg9hz4yfpccav";
|
||||
};
|
||||
});
|
||||
|
||||
flask = super.flask.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.0.2";
|
||||
src = oldAttrs.src.override {
|
||||
@ -30,11 +39,11 @@ with py.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "aws-sam-cli";
|
||||
version = "0.44.0";
|
||||
version = "1.0.0rc1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0r3m41xjmg8m2jwsqwc9kdkcs3xbz8dsl240ybwbnr7rp29pnirf";
|
||||
sha256 = "011b334gdvd9lhqia8c952q3cmzj99vik680180nbp0qh2xw6zpf";
|
||||
};
|
||||
|
||||
# Tests are not included in the PyPI package
|
||||
@ -66,9 +75,11 @@ buildPythonApplication rec {
|
||||
# fix over-restrictive version bounds
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/base.txt \
|
||||
--replace "boto3~=1.13.0, >=1.13.0" "boto3~=1.14.3" \
|
||||
--replace "serverlessrepo==0.1.9" "serverlessrepo~=0.1.9" \
|
||||
--replace "python-dateutil~=2.6, <2.8.1" "python-dateutil~=2.6" \
|
||||
--replace "tomlkit==0.5.8" "tomlkit~=0.5.8" \
|
||||
--replace "jmespath~=0.9.5" "jmespath~=0.10.0" \
|
||||
--replace "tomlkit==0.5.8" "tomlkit~=0.6.0" \
|
||||
--replace "requests==2.22.0" "requests~=2.22"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user