awsebcli: fixup, use more versions from nixpkgs

This commit is contained in:
Kirill Radzikhovskyy 2022-07-18 15:07:37 +10:00 committed by Martin Weinelt
parent 41545391d4
commit c58d450c37

View File

@ -16,8 +16,6 @@ let
self = localPython;
packageOverrides = self: super: {
cement = changeVersion super.cement.overridePythonAttrs "2.8.2" "1li2whjzfhbpg6fjb6r1r92fb3967p1xv6hqs3j787865h2ysrc7";
botocore = changeVersion super.botocore.overridePythonAttrs "1.23.54" "sha256-S7m6FszO5fWiYCBJvD4ttoZTRrJVBmfzATvfM7CgHOs=";
jmespath = changeVersion super.jmespath.overridePythonAttrs "0.10.0" "b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9";
colorama = changeVersion super.colorama.overridePythonAttrs "0.4.3" "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9";
future = changeVersion super.future.overridePythonAttrs "0.16.0" "1nzy1k4m9966sikp0qka7lirh8sqrsyainyf8rk97db7nwdfv773";
wcwidth = changeVersion super.wcwidth.overridePythonAttrs "0.1.9" "1wf5ycjx8s066rdvr0fgz4xds9a8zhs91c4jzxvvymm1c8l8cwzf";
@ -50,8 +48,10 @@ with localPython.pkgs; buildPythonApplication rec {
preConfigure = ''
substituteInPlace setup.py \
--replace "six>=1.11.0,<1.15.0" "six" \
--replace "requests>=2.20.1,<=2.26" "requests"
--replace "six>=1.11.0,<1.15.0" "six==1.16.0" \
--replace "requests>=2.20.1,<=2.26" "requests==2.28.1" \
--replace "jmespath>=0.7.1,<1.0.0" "jmespath==1.0.1" \
--replace "botocore>1.23.41,<1.24.0" "botocore==1.27.31"
'';
buildInputs = [