···21212222let
2323 defaultOverrides = [
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-2424+ # Pinned due to API changes in async-upnp-client>=0.20.0, remove after
2725 (self: super: {
2826 async-upnp-client = super.async-upnp-client.overridePythonAttrs (oldAttrs: rec {
2929- version = "0.19.2";
2727+ version = "0.20.0";
3028 src = fetchFromGitHub {
3129 owner = "StevenLooman";
3230 repo = "async_upnp_client";
3333- rev = version;
3434- sha256 = "1v8d2lvxihqasn7866zssys16s0lgxkk6ri2dp4rr7wr8g9ixvdr";
3131+ rev = "v${version}";
3232+ sha256 = "sha256-jxYGOljV7tcsiAgpOhbXj7g7AwyP1kDDC83PiHG6ZFg=";
3533 };
3634 });
3735 })
3636+3737+ # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
3838+ (mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270")
38393940 # Pinned due to API changes in iaqualink>=2.0, remove after
4041 # https://github.com/home-assistant/core/pull/48137 was merged
···9596 });
9697 })
97989999+ # Pinned due to API changes in 0.1.0
100100+ (mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp")
101101+98102 # Pinned due to changes in total-connect-client>0.58 which made the tests fails at the moment
99103 (self: super: {
100104 total-connect-client = super.total-connect-client.overridePythonAttrs (oldAttrs: rec {
···112116 (self: super: {
113117 home-assistant-frontend = self.callPackage ./frontend.nix { };
114118 })
115115-116116- # Pinned due to incompability with aioesphomeapi 8.0.0
117117- (self: super: {
118118- aioesphomeapi = super.aioesphomeapi.overrideAttrs (oldAttrs: rec {
119119- version = "7.0.0";
120120- src = fetchFromGitHub {
121121- owner = "esphome";
122122- repo = oldAttrs.pname;
123123- rev = "v${version}";
124124- hash = "sha256-ho/1fpq4yAgmYNERPqs51oqr08ncaN9+GRTUUuGU7ps=";
125125- };
126126- });
127127- })
128119 ];
129120130121 mkOverride = attrname: version: sha256:
···154145 extraBuildInputs = extraPackages py.pkgs;
155146156147 # Don't forget to run parse-requirements.py after updating
157157- hassVersion = "2021.8.8";
148148+ hassVersion = "2021.9.6";
158149159150in with py.pkgs; buildPythonApplication rec {
160151 pname = "homeassistant";
···171162 owner = "home-assistant";
172163 repo = "core";
173164 rev = version;
174174- sha256 = "1fj16qva04d9qhpnfxxacsp82vqqfha5c2zg4f850kld4qhwrgky";
165165+ sha256 = "1ac56gdnhzkf19h29g0f54camw6v1cg5wx0crhm23r45qlfsjacs";
175166 };
176167177168 # leave this in, so users don't have to constantly update their downstream patch handling
···181172182173 postPatch = ''
183174 substituteInPlace setup.py \
184184- --replace "attrs==21.2.0" "attrs" \
185175 --replace "awesomeversion==21.4.0" "awesomeversion" \
186176 --replace "bcrypt==3.1.7" "bcrypt" \
187177 --replace "cryptography==3.3.2" "cryptography" \
···234224 pytest-xdist
235225 pytestCheckHook
236226 requests-mock
227227+ stdlib-list
237228 jsonpickle
238229 respx
239230 # required by tests/auth/mfa_modules
···796787 "--deselect tests/components/local_ip/test_config_flow.py::test_config_flow"
797788 # netatmo/test_select.py: NoneType object has no attribute state
798789 "--deselect tests/components/netatmo/test_select.py::test_select_schedule_thermostats"
790790+ # wemo/test_sensor.py: KeyError for various power attributes
791791+ "--deselect tests/components/wemo/test_sensor.py::TestInsightTodayEnergy::test_state_unavailable"
792792+ "--deselect tests/components/wemo/test_sensor.py::TestInsightCurrentPower::test_state_unavailable"
799793 # helpers/test_system_info.py: AssertionError: assert 'Unknown' == 'Home Assistant Container'
800794 "--deselect tests/helpers/test_system_info.py::test_container_installationtype"
801795 # tests are located in tests/
+2-2
pkgs/servers/home-assistant/frontend.nix
···44 # the frontend version corresponding to a specific home-assistant version can be found here
55 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
66 pname = "home-assistant-frontend";
77- version = "20210809.0";
77+ version = "20210830.0";
8899 src = fetchPypi {
1010 inherit pname version;
1111- sha256 = "sha256-5NWNDhQ7XKK9/tC+SbpwOm2MSA2VGHLcE1ggyl6vPkc=";
1111+ sha256 = "sha256-4sNCnYFQ4IjmMPj7axgienZUMDo+GwTJ38cEf0iZzJI=";
1212 };
13131414 # there is nothing to strip in this package