mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
home-assistant: 0.104.3 -> 0.106.1
This commit is contained in:
parent
ee2ea82a68
commit
118e9e8153
File diff suppressed because it is too large
Load diff
|
@ -67,7 +67,7 @@ let
|
|||
extraBuildInputs = extraPackages py.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "0.104.3";
|
||||
hassVersion = "0.106.1";
|
||||
|
||||
in with py.pkgs; buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
|
@ -75,6 +75,8 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
patches = [ ./relax-importlib-metadata-pyaml.patch ];
|
||||
|
||||
inherit availableComponents;
|
||||
|
||||
# PyPI tarball is missing tests/ directory
|
||||
|
@ -82,7 +84,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
owner = "home-assistant";
|
||||
repo = "home-assistant";
|
||||
rev = version;
|
||||
sha256 = "06bh9qrpa1d370pvw6in0isg3yw4p7gh9rpy4hm96p0mf53vxfdp";
|
||||
sha256 = "0i261hzjfhqnq7j8dwsnj2h2vmr4vnxkvk2ff910am1knzni3a2z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -95,7 +97,8 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
] ++ componentBuildInputs ++ extraBuildInputs;
|
||||
|
||||
checkInputs = [
|
||||
asynctest pytest pytest-aiohttp requests-mock pydispatcher aiohue netdisco hass-nabucasa
|
||||
asynctest pytest pytest-aiohttp requests-mock pydispatcher aiohue netdisco
|
||||
hass-nabucasa defusedxml
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
diff --git a/setup.py b/setup.py
|
||||
index 7f9155d9a..f90a0d965 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -38,7 +38,7 @@ REQUIRES = [
|
||||
"attrs==19.3.0",
|
||||
"bcrypt==3.1.7",
|
||||
"certifi>=2019.11.28",
|
||||
- "importlib-metadata==1.5.0",
|
||||
+ "importlib-metadata>=1.3.0",
|
||||
"jinja2>=2.10.3",
|
||||
"PyJWT==1.7.1",
|
||||
# PyJWT has loose dependency. We want the latest one.
|
||||
@@ -46,7 +46,7 @@ REQUIRES = [
|
||||
"pip>=8.0.3",
|
||||
"python-slugify==4.0.0",
|
||||
"pytz>=2019.03",
|
||||
- "pyyaml==5.3",
|
||||
+ "pyyaml>=5.2",
|
||||
"requests==2.22.0",
|
||||
"ruamel.yaml==0.15.100",
|
||||
"voluptuous==0.11.7",
|
Loading…
Reference in a new issue