mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
awscli: fix build
This commit is contained in:
parent
86cd63efd3
commit
6e62e48521
@ -7,11 +7,11 @@
|
||||
let
|
||||
py = python.override {
|
||||
packageOverrides = self: super: {
|
||||
colorama = super.colorama.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.3.7";
|
||||
rsa = super.rsa.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.4.2";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "0avqkn6362v7k2kg3afb35g4sfdvixjgy890clip4q174p9whhz0";
|
||||
sha256 = "25df4e10c263fb88b5ace923dd84bf9aa7f5019687b5e55382ffcdb8bede9db5";
|
||||
};
|
||||
});
|
||||
};
|
||||
@ -19,11 +19,11 @@ let
|
||||
|
||||
in py.pkgs.buildPythonApplication rec {
|
||||
pname = "awscli";
|
||||
version = "1.15.66";
|
||||
version = "1.16.60";
|
||||
|
||||
src = py.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "004fbd3bb8932465205675a7de94460b5c2d45ddd6916138a2c867e4d0f2a4c4";
|
||||
sha256 = "25bcc6cf2304356a78429671999857ff33f88761d81bcee63463a86a6780dcdc";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
@ -44,7 +44,7 @@ in py.pkgs.buildPythonApplication rec {
|
||||
|
||||
postPatch = ''
|
||||
for i in {py,cfg}; do
|
||||
substituteInPlace setup.$i --replace "botocore==1.10.65" "botocore>=1.10.9,<=1.11"
|
||||
substituteInPlace setup.$i --replace "botocore==1.12.50" "botocore>=1.11,<1.13"
|
||||
done
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user