1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

Merge pull request #82315 from Mic92/home-assistant

homeassistant: 0.106.1 -> 0.106.6
This commit is contained in:
Jörg Thalheim 2020-03-12 15:12:04 +00:00 committed by GitHub
commit a1bcb3a83f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View file

@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "pyicloud";
version = "0.9.2";
version = "0.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "1jjkzf7vwms6pymnmdr893830vrymxnq455xnqp21wqhjjiy2amd";
sha256 = "0r171wnq2g5bw7gd59vh6flm0104ix1a6s2vhdrf8s74hipw57si";
};
propagatedBuildInputs = [

View file

@ -2,7 +2,7 @@
# Do not edit!
{
version = "0.106.1";
version = "0.106.6";
components = {
"abode" = ps: with ps; [ ]; # missing inputs: abodepy
"acer_projector" = ps: with ps; [ pyserial];
@ -124,6 +124,7 @@
"configurator" = ps: with ps; [ ];
"conversation" = ps: with ps; [ aiohttp-cors];
"coolmaster" = ps: with ps; [ ]; # missing inputs: pycoolmasternet
"coronavirus" = ps: with ps; [ ]; # missing inputs: coronavirus
"counter" = ps: with ps; [ ];
"cover" = ps: with ps; [ ];
"cppm_tracker" = ps: with ps; [ ]; # missing inputs: clearpasspy

View file

@ -67,7 +67,7 @@ let
extraBuildInputs = extraPackages py.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "0.106.1";
hassVersion = "0.106.6";
in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant";
@ -84,7 +84,7 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant";
repo = "home-assistant";
rev = version;
sha256 = "0i261hzjfhqnq7j8dwsnj2h2vmr4vnxkvk2ff910am1knzni3a2z";
sha256 = "11kv5lmm8nxp7yv3w43mzmgzkafddy0z6wl2878p96iyil1w7qhb";
};
propagatedBuildInputs = [

View file

@ -4,11 +4,11 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend";
version = "20200220.4";
version = "20200220.5";
src = fetchPypi {
inherit pname version;
sha256 = "0cb8b6xizxz1q5r0qgwsqs53va9bxdqnp4vwf5lh8ppv9zy7hssc";
sha256 = "0nc44r5ybq0prsz2yid622i0xr7q0qrc4ymbk69bqg6jrmjpbdl1";
};
# no Python tests implemented

View file

@ -53,7 +53,7 @@ def get_version():
return m.group(1)
def parse_components(version="master"):
def parse_components(version: str = "master"):
components = {}
with tempfile.TemporaryDirectory() as tmp:
with urlopen(
@ -61,14 +61,13 @@ def parse_components(version="master"):
) as response:
tarfile.open(fileobj=BytesIO(response.read())).extractall(tmp)
# Use part of a script from the Home Assistant codebase
sys.path.append(os.path.join(tmp, f"home-assistant-{version}"))
core_path = os.path.join(tmp, f"core-{version}")
sys.path.append(core_path)
from script.hassfest.model import Integration
integrations = Integration.load_dir(
pathlib.Path(
os.path.join(
tmp, f"home-assistant-{version}", "homeassistant/components"
)
os.path.join(core_path, "homeassistant/components")
)
)
for domain in sorted(integrations):