git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #142705 from mweinelt/hass-esphome-pin
commitce24ebd3dcd557d87f115283180051d4af0e7f6e authorMartin Weinelt <mweinelt@users.noreply.github.com> dateSun 24 Oct 2021, 03:57 (5 years ago) parent1144ad9e3fa864
1 file changed+13
pkgs/servers/home-assistant/default.nix+13
pkgs/servers/home-assistant/default.nix+13
@@ -24,6 +24,19 @@ let
2424 # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
2525 (mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270")
2626
27+ # Pinned due to API changes in aioesphomeapi>=10.0.0
28+ (self: super: {
29+ aioesphomeapi = super.aioesphomeapi.overridePythonAttrs (oldAttrs: rec {
30+ version = "9.1.5";
31+ src = fetchFromGitHub {
32+ owner = "esphome";
33+ repo = "aioesphomeapi";
34+ rev = "v${version}";
35+ sha256 = "sha256-PPag65ZMz9KZEe9FmiB42/DgeM0vJw5L0haAG/jBjqg=";
36+ };
37+ });
38+ })
39+
2740 # Pinned due to API changes in iaqualink>=2.0, remove after
2841 # https://github.com/home-assistant/core/pull/48137 was merged
2942 (self: super: {