awscli: drop override for colorama version

The overridden version wouldn't build anymore,
probably after update of the base colorama.
The PR in comment is included our current awscli version,
but we updated colorama past version allowed there already.
This commit is contained in:
Vladimír Čunát 2022-10-30 11:18:34 +01:00
parent 082314708c
commit 8680e00318
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -7,14 +7,6 @@
let
py = python3.override {
packageOverrides = self: super: {
# TODO: https://github.com/aws/aws-cli/pull/5712
colorama = super.colorama.overridePythonAttrs (oldAttrs: rec {
version = "0.4.3";
src = oldAttrs.src.override {
inherit version;
sha256 = "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9";
};
});
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
version = "5.4.1";
src = fetchFromGitHub {
@ -47,6 +39,7 @@ with py.pkgs; buildPythonApplication rec {
postPatch = ''
substituteInPlace setup.py \
--replace "docutils>=0.10,<0.17" "docutils>=0.10" \
--replace "colorama>=0.2.5,<0.4.5" "colorama>=0.2.5,<0.5" \
--replace "rsa>=3.1.2,<4.8" "rsa<5,>=3.1.2"
'';