summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/home-assistant
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2020-11-04 12:52:54 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-04 23:22:56 -0800
commit0c4e33e4aabd1c2e55fb0be71a383aca8df126b1 (patch)
treee069ecf0b9f6267d367f646d209dfc0b0188ea2e /pkgs/servers/home-assistant
parent7f623f6f3b2e3d647488a4da960a71f34efb4656 (diff)
homeassistant: 0.117.2 -> 0.117.3
Diffstat (limited to 'pkgs/servers/home-assistant')
-rw-r--r--pkgs/servers/home-assistant/component-packages.nix2
-rw-r--r--pkgs/servers/home-assistant/default.nix9
2 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix
index 140d6841681d..371faf8ccce5 100644
--- a/pkgs/servers/home-assistant/component-packages.nix
+++ b/pkgs/servers/home-assistant/component-packages.nix
@@ -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 ];
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index 9302a38f79e6..9e239e8c9610 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -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"'
'';