home-assistant: 2023.6.3 -> 2023.7.0
https://www.home-assistant.io/blog/2023/07/05/release-20237/
This commit is contained in:
parent
c0d822e85b
commit
8303714700
4 changed files with 133 additions and 123 deletions
File diff suppressed because it is too large
Load diff
|
@ -287,7 +287,7 @@ let
|
||||||
extraBuildInputs = extraPackages python.pkgs;
|
extraBuildInputs = extraPackages python.pkgs;
|
||||||
|
|
||||||
# Don't forget to run parse-requirements.py after updating
|
# Don't forget to run parse-requirements.py after updating
|
||||||
hassVersion = "2023.6.3";
|
hassVersion = "2023.7.0";
|
||||||
|
|
||||||
in python.pkgs.buildPythonApplication rec {
|
in python.pkgs.buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
|
@ -303,7 +303,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
# Primary source is the pypi sdist, because it contains translations
|
# Primary source is the pypi sdist, because it contains translations
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-hlU2LNG/9Uy7XfST/ZwVOQCar0IFvFUgpMSoSCviTrc=";
|
hash = "sha256-2bo/TJPc2CBH+y6z7Hl4I7TeacDH61L+jMIRWzOAgz0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Secondary source is git for tests
|
# Secondary source is git for tests
|
||||||
|
@ -311,7 +311,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-V/ndNu8zvtI8Z0LzrlWaV+EbeL8oBBz/D46ec+fhPPY=";
|
hash = "sha256-ZOqehiotdPLA+ZjtTmonsvpDEEke13nbwt+0E/hGD6E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python.pkgs; [
|
nativeBuildInputs = with python.pkgs; [
|
||||||
|
|
|
@ -4,7 +4,7 @@ buildPythonPackage rec {
|
||||||
# the frontend version corresponding to a specific home-assistant version can be found here
|
# 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
|
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
||||||
pname = "home-assistant-frontend";
|
pname = "home-assistant-frontend";
|
||||||
version = "20230608.0";
|
version = "20230705.0";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||||
pname = "home_assistant_frontend";
|
pname = "home_assistant_frontend";
|
||||||
dist = "py3";
|
dist = "py3";
|
||||||
python = "py3";
|
python = "py3";
|
||||||
hash = "sha256-bTOjenzcj8d5N192v3L7W7XZ0CRDcO8GbVUnxcMitQU=";
|
hash = "sha256-kkrCEgc+cckjDESG2WoHd93Qdb5RwIF2FrNxnBB8jFI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# there is nothing to strip in this package
|
# there is nothing to strip in this package
|
||||||
|
|
|
@ -43,7 +43,7 @@ PKG_PREFERENCES = {
|
||||||
"ha-av": "av",
|
"ha-av": "av",
|
||||||
"HAP-python": "hap-python",
|
"HAP-python": "hap-python",
|
||||||
"tensorflow": "tensorflow",
|
"tensorflow": "tensorflow",
|
||||||
"youtube_dl": "youtube-dl-light",
|
"yt-dlp": "yt-dlp",
|
||||||
}
|
}
|
||||||
|
|
||||||
# Some dependencies are loaded dynamically at runtime, and are not
|
# Some dependencies are loaded dynamically at runtime, and are not
|
||||||
|
@ -263,13 +263,13 @@ def main() -> None:
|
||||||
available, extras, missing = deps
|
available, extras, missing = deps
|
||||||
f.write(f' "{component}" = ps: with ps; [')
|
f.write(f' "{component}" = ps: with ps; [')
|
||||||
if available:
|
if available:
|
||||||
f.write("\n " + "\n ".join(available))
|
f.write("\n " + "\n ".join(sorted(available)))
|
||||||
f.write("\n ]")
|
f.write("\n ]")
|
||||||
if extras:
|
if extras:
|
||||||
f.write("\n ++ " + "\n ++ ".join(extras))
|
f.write("\n ++ " + "\n ++ ".join(sorted(extras)))
|
||||||
f.write(";")
|
f.write(";")
|
||||||
if len(missing) > 0:
|
if len(missing) > 0:
|
||||||
f.write(f" # missing inputs: {' '.join(missing)}")
|
f.write(f" # missing inputs: {' '.join(sorted(missing))}")
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
f.write(" };\n")
|
f.write(" };\n")
|
||||||
f.write(" # components listed in tests/components for which all dependencies are packaged\n")
|
f.write(" # components listed in tests/components for which all dependencies are packaged\n")
|
||||||
|
|
Loading…
Reference in a new issue