Merge pull request #142705 from mweinelt/hass-esphome-pin

authored by

Martin Weinelt and committed by
GitHub
ce24ebd3 1144ad9d

+13
+13
pkgs/servers/home-assistant/default.nix
··· 24 24 # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt 25 25 (mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270") 26 26 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 + 27 40 # Pinned due to API changes in iaqualink>=2.0, remove after 28 41 # https://github.com/home-assistant/core/pull/48137 was merged 29 42 (self: super: {