homeassistant: 0.117.2 -> 0.117.3

This commit is contained in:
Martin Weinelt 2020-11-04 12:52:54 +01:00 committed by Jonathan Ringer
parent 7f623f6f3b
commit 0c4e33e4aa
2 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Do not edit!
{
version = "0.117.2";
version = "0.117.3";
components = {
"abode" = ps: with ps; [ abodepy ];
"accuweather" = ps: with ps; [ accuweather ];

View File

@ -67,7 +67,7 @@ let
extraBuildInputs = extraPackages py.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "0.117.2";
hassVersion = "0.117.3";
in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant";
@ -83,13 +83,16 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = version;
sha256 = "1mpvskr0zjvl065ldw05kc0x5yvibwfm2nmv478wznw3vwmbqrzn";
sha256 = "05vsq3dw02bn3hppxbgw321ray842ck6z559rq92i720bx1vi0qx";
};
# leave this in, so users don't have to constantly update their downstream patch handling
patches = [];
postPatch = ''
substituteInPlace setup.py \
--replace "bcrypt==3.1.7" "bcrypt>=3.1.7" \
--replace "cryptography==3.2.0" "cryptography" \
--replace "cryptography==3.2" "cryptography" \
--replace "ruamel.yaml==0.15.100" "ruamel.yaml>=0.15.100"
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
'';