home-assistant: pin aioesphomeapi to 7.0.0

Relevant comment in the bump of aioesphomeapi:
https://github.com/NixOS/nixpkgs/pull/135669#issuecomment-912177954
This commit is contained in:
CRTified 2021-09-07 23:03:39 +02:00
parent 73204fed4b
commit d72603b5ea

View file

@ -112,6 +112,19 @@ let
(self: super: {
home-assistant-frontend = self.callPackage ./frontend.nix { };
})
# Pinned due to incompability with aioesphomeapi 8.0.0
(self: super: {
aioesphomeapi = super.aioesphomeapi.overrideAttrs (oldAttrs: rec {
version = "7.0.0";
src = fetchFromGitHub {
owner = "esphome";
repo = oldAttrs.pname;
rev = "v${version}";
hash = "sha256-ho/1fpq4yAgmYNERPqs51oqr08ncaN9+GRTUUuGU7ps=";
};
});
})
];
mkOverride = attrname: version: sha256: