mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13:40 +00:00
Update awscli v2 nix overlay (#13)
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
zathura
|
zathura
|
||||||
zip
|
zip
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
zsh-fast-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
@@ -73,6 +73,8 @@
|
|||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
|
source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
@@ -93,7 +95,7 @@
|
|||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
name = "fast-syntax-highlighting";
|
name = "syntax-highlighting";
|
||||||
src = "${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions";
|
src = "${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@@ -3,12 +3,12 @@ rec {
|
|||||||
python3 = with super; super.python3.override {
|
python3 = with super; super.python3.override {
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
botocore = super.botocore.overridePythonAttrs (oldAttrs: rec {
|
botocore = super.botocore.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "2.0.0dev19";
|
version = "2.0.0dev25";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "boto";
|
owner = "boto";
|
||||||
repo = "botocore";
|
repo = "botocore";
|
||||||
rev = "ce7b76d296b345d7647f50557606947ad857a786";
|
rev = "bf9a885fa0bc0bba0c3c806eeeb60d9ad5f3e069";
|
||||||
sha256 = "0g9pvcs94v2znjkzzjnz30021q9bm97fxmlhxvql6im3c6adrqb3";
|
sha256 = "1llshaxpnz9a7mw4kkz9msdgkzz3in5ws3rvd7l077ghj9jkfz9a";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
prompt_toolkit = super.prompt_toolkit.overridePythonAttrs (oldAttrs: rec {
|
prompt_toolkit = super.prompt_toolkit.overridePythonAttrs (oldAttrs: rec {
|
||||||
@@ -25,13 +25,13 @@ rec {
|
|||||||
|
|
||||||
awscli2 = with self; pythonPackages.buildPythonApplication rec {
|
awscli2 = with self; pythonPackages.buildPythonApplication rec {
|
||||||
pname = "awscli";
|
pname = "awscli";
|
||||||
version = "2.0.15"; # N.B: if you change this, change botocore to a matching version too
|
version = "2.0.21"; # N.B: if you change this, change botocore to a matching version too
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aws";
|
owner = "aws";
|
||||||
repo = "aws-cli";
|
repo = "aws-cli";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "030pw7aa1y13awrpwlsq3ib633fh1z4rzkz8b31x7jg7s1hxrsvr";
|
sha256 = "1lxkdjsl3w9c621byy3gggadhfrw8xcw37x3xci9qszxqc10b467";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Reference in New Issue
Block a user