Merge pull request #241773 from NixOS/home-assistant

home-assistant: 2023.6.3 -> 2023.7.0
This commit is contained in:
Martin Weinelt 2023-07-06 00:56:41 +02:00 committed by GitHub
commit 1348fc1c95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 169 additions and 185 deletions

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, async-timeout
, chacha20poly1305-reuseable
, mock
, noiseprotocol
, protobuf
@ -13,7 +14,7 @@
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "13.9.0";
version = "15.1.1";
format = "setuptools";
disabled = pythonOlder "3.9";
@ -22,11 +23,12 @@ buildPythonPackage rec {
owner = "esphome";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-RjLzOl8Cb6Vrq+75SvBntAmmiK70i3o2rED7Smnpiws=";
hash = "sha256-pdG/yfrGWMu85WXA7CXrmK2FXc+x3e/RNPXCWIEn8n8=";
};
propagatedBuildInputs = [
async-timeout
chacha20poly1305-reuseable
noiseprotocol
protobuf
zeroconf

View file

@ -1,39 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ifaddr
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiosenseme";
version = "0.6.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = "v${version}";
hash = "sha256-ShK4DP1lAtAFI6z2kf5T1ecbNTKUn2kqUjps2ABRegg=";
};
propagatedBuildInputs = [
ifaddr
];
pythonImportsCheck = [
"aiosenseme"
];
# Module has no tests
doCheck = false;
meta = with lib; {
description = "Module to interact with SenseME fans and lights by Big Ass Fans";
homepage = "https://github.com/bdraco/aiosenseme";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "hass-nabucasa";
version = "0.67.1";
version = "0.69.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "nabucasa";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-/cu7+fMbe9kyWGGBGBwjsiA6PXoUJZ7IFzpEcnVSLn0=";
hash = "sha256-7FO/z5AseP80y74e4ivLXlwB9t5jJf2bCaNp6HfqZ1c=";
};
postPatch = ''

View file

@ -2,19 +2,22 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
let
pname = "lru-dict";
version = "1.1.8";
version = "1.2.0";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-h4vI70Bz5c+5U9/Bz0WF20HouBTAEGq9400A7g0LMRU=";
hash = "sha256-E8VngvGdaN302NsBcAQRkoWWFlFMcGsSbQ3y7HKhG9c=";
};
nativeCheckInputs = [
@ -28,6 +31,7 @@ buildPythonPackage {
meta = with lib; {
description = "Fast and memory efficient LRU cache for Python";
homepage = "https://github.com/amitdev/lru-dict";
changelog = "https://github.com/amitdev/lru-dict/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};

View file

@ -20,14 +20,14 @@
buildPythonPackage rec {
pname = "pymodbus";
version = "3.1.3";
version = "3.3.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "pymodbus-dev";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-GHyDlt046v4KP9KQRnXH6F+3ikoCjbhVHEQuSdm99a8=";
hash = "sha256-EGJyb0AVLKN7FEoeWF4rVqmJBNbXHent9P+cxc13rQs=";
};
# Twisted asynchronous version is not supported due to a missing dependency

View file

@ -27,7 +27,7 @@
buildPythonPackage rec {
pname = "python-matter-server";
version = "3.5.2";
version = "3.6.3";
format = "pyproject";
disabled = pythonOlder "3.10";
@ -36,7 +36,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs";
repo = "python-matter-server";
rev = "refs/tags/${version}";
hash = "sha256-sLVKhQIqJanvupfkJSLObHTiyGE+PP8UdQR2my1azUA=";
hash = "sha256-xtxbZS8CPCkgyFX08THn7hGurFj8dQV+KIZ6VvTY7hA=";
};
nativeBuildInputs = [

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, aiohttp
, alexapy
, async-timeout
, buildPythonPackage
, click
@ -14,27 +15,34 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "python-roborock";
version = "0.23.6";
version = "0.29.2";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "humbertogontijo";
repo = "python-roborock";
rev = "refs/tags/v${version}";
hash = "sha256-5WgCVdmEhFrKYT7Uflnjv6OIISk//VH2aoxVwlWuPTk=";
hash = "sha256-Jxo3y7hQeedLYLrofnSivWGgmuRfnFeFnxkmwjoQ2Tc=";
};
pythonRelaxDeps = [
"pycryptodome"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
alexapy
aiohttp
async-timeout
click

View file

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.100";
version = "0.0.101";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha-device-handlers";
rev = "refs/tags/${version}";
hash = "sha256-EWGsnUnr83YuhEdGJ3YtlYm9VT+aTuUjfganhOeqt7o=";
hash = "sha256-YZGsDSrxPpxluxyRkOPyvJLQ9YADuZ8NYcznIGZ0BYg=";
};
propagatedBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "zigpy-xbee";
version = "0.18.0";
version = "0.18.1";
# https://github.com/Martiusweb/asynctest/issues/152
# broken by upstream python bug with asynctest and
# is used exclusively by home-assistant with python 3.8
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zigpy-xbee";
rev = "refs/tags/${version}";
hash = "sha256-zSaT9WdA4tR8tJAShSzqL+f/nTLQJbeIZnbSBe1EOks=";
hash = "sha256-vR+oLshiIYmMdAvir+TGBqVkTGXKAVnUWnQPR3YwuUk=";
};
buildInputs = [

View file

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "zigpy";
version = "0.55.0";
version = "0.56.1";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zigpy";
rev = "refs/tags/${version}";
hash = "sha256-fc98V6KJ7zROgNktHZlWj9/BQRbCIWYT5Px09mFrwHQ=";
hash = "sha256-xOvRsnTv/5GhGRVM9M6zjkEWI5dq9rGVcoi5G+0LpDE=";
};
propagatedBuildInputs = [

File diff suppressed because it is too large Load diff

View file

@ -287,7 +287,7 @@ let
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "2023.6.3";
hassVersion = "2023.7.0";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -303,7 +303,7 @@ in python.pkgs.buildPythonApplication rec {
# Primary source is the pypi sdist, because it contains translations
src = fetchPypi {
inherit pname version;
hash = "sha256-hlU2LNG/9Uy7XfST/ZwVOQCar0IFvFUgpMSoSCviTrc=";
hash = "sha256-2bo/TJPc2CBH+y6z7Hl4I7TeacDH61L+jMIRWzOAgz0=";
};
# Secondary source is git for tests
@ -311,7 +311,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-V/ndNu8zvtI8Z0LzrlWaV+EbeL8oBBz/D46ec+fhPPY=";
hash = "sha256-ZOqehiotdPLA+ZjtTmonsvpDEEke13nbwt+0E/hGD6E=";
};
nativeBuildInputs = with python.pkgs; [

View file

@ -4,7 +4,7 @@ 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 = "20230608.0";
version = "20230705.0";
format = "wheel";
src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-bTOjenzcj8d5N192v3L7W7XZ0CRDcO8GbVUnxcMitQU=";
hash = "sha256-kkrCEgc+cckjDESG2WoHd93Qdb5RwIF2FrNxnBB8jFI=";
};
# there is nothing to strip in this package

View file

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "home-assistant-intents";
version = "2023.6.5";
version = "2023.6.28";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "home-assistant";
repo = "intents";
rev = "refs/tags/${version}";
hash = "sha256-ZfPOxTFPQNdZ3Tq8p410RHlLGej+FOqhafD+91MRbRo=";
hash = "sha256-K441nrwoQ7zzle4iC679oGxU6iZn/yTJOElvDblHB7U=";
};
sourceRoot = "source/package";

View file

@ -43,7 +43,7 @@ PKG_PREFERENCES = {
"ha-av": "av",
"HAP-python": "hap-python",
"tensorflow": "tensorflow",
"youtube_dl": "youtube-dl-light",
"yt-dlp": "yt-dlp",
}
# Some dependencies are loaded dynamically at runtime, and are not
@ -263,13 +263,13 @@ def main() -> None:
available, extras, missing = deps
f.write(f' "{component}" = ps: with ps; [')
if available:
f.write("\n " + "\n ".join(available))
f.write("\n " + "\n ".join(sorted(available)))
f.write("\n ]")
if extras:
f.write("\n ++ " + "\n ++ ".join(extras))
f.write("\n ++ " + "\n ++ ".join(sorted(extras)))
f.write(";")
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(" # components listed in tests/components for which all dependencies are packaged\n")

View file

@ -36,6 +36,7 @@ mapAliases ({
abodepy = jaraco-abode; # added 2023-02-01
acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19
aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
aiosenseme = throw "aiosenseme has been removed, because it does no longer work with the latest firmware and has become unmaintained"; # Added 2023-07-05
ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30
ansible-doctor = throw "ansible-doctor has been promoted to a top-level attribute"; # Added 2023-05-16
ansible-later = throw "ansible-later has been promoted to a top-level attribute"; # Added 2023-05-16

View file

@ -332,8 +332,6 @@ self: super: with self; {
aiosql = callPackage ../development/python-modules/aiosql { };
aiosenseme = callPackage ../development/python-modules/aiosenseme { };
aiosenz = callPackage ../development/python-modules/aiosenz { };
aioserial = callPackage ../development/python-modules/aioserial { };