mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
awscli: use python3
This commit is contained in:
parent
524c82b3a1
commit
ba2624412d
@ -1,12 +1,12 @@
|
||||
{ lib
|
||||
, python
|
||||
, python3
|
||||
, groff
|
||||
, less
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
let
|
||||
py = python.override {
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
rsa = super.rsa.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.4.2";
|
||||
@ -15,14 +15,7 @@ let
|
||||
sha256 = "25df4e10c263fb88b5ace923dd84bf9aa7f5019687b5e55382ffcdb8bede9db5";
|
||||
};
|
||||
});
|
||||
colorama = super.colorama.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.3.9";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1";
|
||||
};
|
||||
});
|
||||
pyyaml = super.pyyaml_3;
|
||||
prompt_toolkit = self.callPackage ../../../development/python-modules/prompt_toolkit/1.nix { };
|
||||
};
|
||||
};
|
||||
|
||||
@ -52,7 +45,6 @@ in py.pkgs.buildPythonApplication rec {
|
||||
urllib3
|
||||
dateutil
|
||||
jmespath
|
||||
futures
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user