Merge pull request #137030 from CRTified/hass/pin-aioesphomeapi

home-assistant: pin aioesphomeapi to 7.0.0
This commit is contained in:
Martin Weinelt 2021-09-07 23:40:40 +02:00 committed by GitHub
commit 81a989982b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: