Merge pull request #219095 from NixOS/home-assistant

home-assistant: 2023.2.5 -> 2023.3.0
This commit is contained in:
Martin Weinelt 2023-03-02 22:33:08 +00:00 committed by GitHub
commit cfb7a2bc29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 362 additions and 279 deletions

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiohue"; pname = "aiohue";
version = "4.6.1"; version = "4.6.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ATM4s2W1Gw98TysfqHVA/McerZStHaUK5eMrSU9+uOI="; hash = "sha256-DzslGfKwsXXWWhbTb0apJCsnNdnUe7AbvrRT8ZnPbVU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "brother"; pname = "brother";
version = "2.1.1"; version = "2.2.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "bieniu"; owner = "bieniu";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-jMvbZ4/NOA3dnJUdDWk2KTRz1gBOC+oDE0ChGNdFl1o="; hash = "sha256-bp4YerSTTsuWX3Yc+btlhwCNZO3eDxRgKNzLZFJbKV0=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -41,6 +41,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python wrapper for getting data from Brother laser and inkjet printers via SNMP"; description = "Python wrapper for getting data from Brother laser and inkjet printers via SNMP";
homepage = "https://github.com/bieniu/brother"; homepage = "https://github.com/bieniu/brother";
changelog = "https://github.com/bieniu/brother/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ hexa ]; maintainers = with maintainers; [ hexa ];
}; };

View file

@ -15,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "devolo-plc-api"; pname = "devolo-plc-api";
version = "1.1.0"; version = "1.2.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "2Fake"; owner = "2Fake";
repo = "devolo_plc_api"; repo = "devolo_plc_api";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-xM7g6q18A+qmOhQeey4uxs6ow6Hf5YKDdbpXwYr2RXo="; hash = "sha256-Ua6XxFmvF2EDtCZTeVHGRfwNAMjX3p5s4Jo5ylutYqY=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "elgato"; pname = "elgato";
version = "3.0.0"; version = "4.0.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -21,8 +21,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "frenck"; owner = "frenck";
repo = "python-elgato"; repo = "python-elgato";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-lGHRwDxxgi1QJvK3WrvwghoAZk5J1mdwD4+Is0n7Jgs="; sha256 = "sha256-kyFnc/lMxgYy8s/gAP5vpEPV8a+dphOummr6G7deGQ4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -0,0 +1,47 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, cython
, pkgconfig
, setuptools
, wheel
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "faust-cchardet";
version = "2.1.18";
format = "pyproject";
src = fetchFromGitHub {
owner = "faust-streaming";
repo = "cChardet";
rev = "refs/tags/v${version}";
fetchSubmodules = true;
hash = "sha256-jTOqxBss/FAb8nMkU62H6O4ysmirD2FTA9mtvxXh43k=";
};
nativeBuildInputs = [
cython
pkgconfig
setuptools
wheel
];
pythonImportsCheck = [
"cchardet"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/faust-streaming/cChardet/blob/${src.rev}/CHANGES.rst";
description = "High-speed universal character encoding detector";
homepage = "https://github.com/faust-streaming/cChardet";
license = lib.licenses.mpl11;
maintainers = with lib.maintainers; [ dotlambda ivan ];
};
}

View file

@ -1,13 +1,10 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder
# build
, antlr4
# propagates # propagates
, antlr4-python3-runtime , importlib-resources
, dataclasses-json
, pyyaml , pyyaml
# tests # tests
@ -16,7 +13,7 @@
let let
pname = "hassil"; pname = "hassil";
version = "0.2.6"; version = "1.0.6";
in in
buildPythonPackage { buildPythonPackage {
inherit pname version; inherit pname version;
@ -24,23 +21,13 @@ buildPythonPackage {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-KbzGZLW+HrG4meOa0mVTh3jmt43gRxl9yN9asWMDxiY="; hash = "sha256-rCSVKFIkfPg2aYFwuYVLMxMO8S11dV8f4eckpFbNB3k=";
}; };
nativeBuildInputs = [
antlr4
];
postPatch = ''
sed -i 's/antlr4-python3-runtime==.*/antlr4-python3-runtime/' requirements.txt
rm hassil/grammar/*.{tokens,interp}
antlr -Dlanguage=Python3 -visitor -o hassil/grammar/ *.g4
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
antlr4-python3-runtime
dataclasses-json
pyyaml pyyaml
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
]; ];
nativeCheckInputs = [ nativeCheckInputs = [

View file

@ -6,7 +6,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "home-assistant-chip-clusters"; pname = "home-assistant-chip-clusters";
version = "2023.1.0"; version = "2023.2.2";
format = "wheel"; format = "wheel";
src = fetchPypi { src = fetchPypi {
@ -14,7 +14,7 @@ buildPythonPackage rec {
pname = "home_assistant_chip_clusters"; pname = "home_assistant_chip_clusters";
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
hash = "sha256-2UcDu2b3DtijAOUt+eazleoKxEhAgsU3MY/OoEBpLNg="; hash = "sha256-FsIE4dcZOP24/DX6TLnmoCHMYe4f9gWqmv2L25ujqu4=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -30,6 +30,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python-base APIs and tools for CHIP"; description = "Python-base APIs and tools for CHIP";
homepage = "https://github.com/home-assistant-libs/chip-wheels"; homepage = "https://github.com/home-assistant-libs/chip-wheels";
changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = teams.home-assistant.members; maintainers = teams.home-assistant.members;
sourceProvenance = with sourceTypes; [ binaryNativeCode ]; sourceProvenance = with sourceTypes; [ binaryNativeCode ];

View file

@ -24,7 +24,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "home-assistant-chip-core"; pname = "home-assistant-chip-core";
version = "2023.1.0"; version = "2023.2.2";
format = "wheel"; format = "wheel";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -37,7 +37,7 @@ buildPythonPackage rec {
}; };
"x86_64-linux" = { "x86_64-linux" = {
name = "x86_64"; name = "x86_64";
hash = "sha256-zXxbDGfyFUXuEnaH4a8R4LXH0gfbMCkKPBJJGp77xHM="; hash = "sha256-15olERnpfe4PbDsDfw47vsYsqjFe8P8IDmSSGxGLtx8=";
}; };
}.${stdenv.system} or (throw "Unsupported system"); }.${stdenv.system} or (throw "Unsupported system");
in fetchPypi { in fetchPypi {
@ -85,6 +85,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python-base APIs and tools for CHIP"; description = "Python-base APIs and tools for CHIP";
homepage = "https://github.com/home-assistant-libs/chip-wheels"; homepage = "https://github.com/home-assistant-libs/chip-wheels";
changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = teams.home-assistant.members; maintainers = teams.home-assistant.members;
platforms = [ "aarch64-linux" "x86_64-linux" ]; platforms = [ "aarch64-linux" "x86_64-linux" ];

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "nettigo-air-monitor"; pname = "nettigo-air-monitor";
version = "1.6.0"; version = "2.1.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -22,8 +22,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bieniu"; owner = "bieniu";
repo = pname; repo = pname;
rev = version; rev = "refs/tags/${version}";
hash = "sha256-86YEpn3rI6Y4v0pcNk+/4tHCUzXpXZN5xwV9M/1gZ8U="; hash = "sha256-6pLdaBeyTIrsAzkr83Iywta+K4Vx3nt0QyL8opHNwV8=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "nibe"; pname = "nibe";
version = "1.6.0"; version = "2.0.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "yozik04"; owner = "yozik04";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-6pQsVGb26FpoV2LgOrs+Cfq2rATRqbljrVJ+NsZUSuc="; hash = "sha256-e5rKtVFSlB4sFBrBHKrZmHq/sJEL9VZejSpUgeCwCzw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, parameterized
, pytestCheckHook
, pythonOlder
, requests
, responses
}:
buildPythonPackage rec {
pname = "nuheat";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "broox";
repo = "python-nuheat";
rev = "refs/tags/${version}";
hash = "sha256-EsPuwILfKc1Bpvu0Qos7yooC3dBaqf46lWhiSZdu3sc=";
};
propagatedBuildInputs = [
requests
];
nativeCheckInputs = [
mock
parameterized
pytestCheckHook
responses
];
pythonImportsCheck = [
"nuheat"
];
meta = with lib; {
description = "Library to interact with NuHeat Signature and Mapei Mapeheat radiant floor thermostats";
homepage = "https://github.com/broox/python-nuheat";
changelog = "https://github.com/broox/python-nuheat/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -3,7 +3,6 @@
, aioresponses , aioresponses
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pytest-aiohttp , pytest-aiohttp
, poetry-core , poetry-core
, pytest-asyncio , pytest-asyncio
@ -13,24 +12,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyairnow"; pname = "pyairnow";
version = "1.1.0"; version = "1.2.1";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "asymworks"; owner = "asymworks";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "1hkpfl8rdwyzqrr1drqlmcw3xpv3pi1jf19h1divspbzwarqxs1c"; hash = "sha256-aab+3xrEiCjysa+DzXWelQwz8V2tr74y8v0NpDZiuTk=";
}; };
patches = [
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/asymworks/pyairnow/commit/f7a01733a41c648563fc2fe4b559f61ef08b9153.patch";
hash = "sha256-lcHnFP3bwkPTi9Zq1dZtShLKyXcxO0XoDF+PgjbWOqs=";
})
];
nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiohttp ]; propagatedBuildInputs = [ aiohttp ];

View file

@ -2,22 +2,27 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
, poetry-core
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pybalboa"; pname = "pybalboa";
version = "0.13"; version = "1.0.0";
format = "setuptools"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "garbled1"; owner = "garbled1";
repo = pname; repo = pname;
rev = version; rev = "refs/tags/${version}";
sha256 = "0aw5jxpsvzyx05y1mg8d63lxx1i607yb6x19n9jil5wfis95m8pd"; hash = "sha256-08FMNRArzmfmLH6y5Z8QPcRVZJIvU3VIOvdTry3iBGI=";
}; };
nativeBuildInputs = [
poetry-core
];
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;

View file

@ -7,17 +7,16 @@
, pypubsub , pypubsub
, pyserial , pyserial
, pyserial-asyncio , pyserial-asyncio
, pytest-asyncio
, pytest-timeout
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, pyyaml , setuptools
, voluptuous
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyinsteon"; pname = "pyinsteon";
version = "1.2.0"; version = "1.3.3";
format = "setuptools"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -25,29 +24,27 @@ buildPythonPackage rec {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-PMjvic+K/m7beavlZvGhJcizSNCzLPZYLm3P2V9EPLs="; hash = "sha256-zbqgwCukTmvCIXpAvaKQl7voOI4ATqsT9NPUyRhw2EE=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiofiles aiofiles
aiohttp aiohttp
pypubsub pypubsub
pyserial pyserial
pyserial-asyncio pyserial-asyncio
pyyaml voluptuous
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
async_generator async_generator
pytest-asyncio
pytest-timeout
pytestCheckHook pytestCheckHook
]; ];
disabledTests = [
"test_results"
];
pythonImportsCheck = [ pythonImportsCheck = [
"pyinsteon" "pyinsteon"
]; ];

View file

@ -26,7 +26,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-matter-server"; pname = "python-matter-server";
version = "2.1.0"; version = "3.1.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
repo = "python-matter-server"; repo = "python-matter-server";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-T7afZsrvvJeEfLZm4jopAtfQ0Bhqa+s77SyrJToyUWU="; hash = "sha256-nNf0Q3J5nrYDinMnl+p3HC4FYMX+GubYmtchfuATWms=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -0,0 +1,51 @@
{ lib
, aiohttp
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
, voluptuous
}:
buildPythonPackage rec {
pname = "python-otbr-api";
version = "1.0.5";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-yI7TzVJGSWdi+NKZ0CCOi3BC4WIqFuS7YZgihfWDBSY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
cryptography
voluptuous
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"python_otbr_api"
];
meta = with lib; {
description = "Library for the Open Thread Border Router";
homepage = "https://github.com/home-assistant-libs/python-otbr-api";
changelog = "https://github.com/home-assistant-libs/python-otbr-api/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1,22 +1,25 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder
, poetry-core , poetry-core
, pytest , pytest
, colored , colored
, pytestCheckHook , invoke
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "syrupy"; pname = "syrupy";
version = "3.0.6"; version = "4.0.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tophat"; owner = "tophat";
repo = "syrupy"; repo = "syrupy";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-8DdPgah1cWVY9YZT78otlAv7X00iwxfi+Fkn3OmLgeM="; hash = "sha256-BL1Z1hPMwU1duAZb3ZTWWKS/XGv8RJ6/4YoBhktd5NE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -32,9 +35,17 @@ buildPythonPackage rec {
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook invoke
pytest
]; ];
checkPhase = ''
runHook preCheck
# https://github.com/tophat/syrupy/blob/main/CONTRIBUTING.md#local-development
invoke test
runHook postCheck
'';
meta = with lib; { meta = with lib; {
changelog = "https://github.com/tophat/syrupy/releases/tag/v${version}"; changelog = "https://github.com/tophat/syrupy/releases/tag/v${version}";
description = "Pytest Snapshot Test Utility"; description = "Pytest Snapshot Test Utility";

View file

@ -59,6 +59,11 @@ buildPythonPackage rec {
time-machine time-machine
]; ];
disabledTestPaths = [
# snapshot tests require syrupy<4
"tests/snapshot_tests/test_snapshots.py"
];
pythonImportsCheck = [ pythonImportsCheck = [
"textual" "textual"
]; ];

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "velbus-aio"; pname = "velbus-aio";
version = "2022.12.0"; version = "2023.2.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "Cereal2nd"; owner = "Cereal2nd";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-hhomNynH2X2tnCzVBmyF/sYsHLHyGGaR9oX6M7kcWVc="; hash = "sha256-y8M9Zf/CMM7NH0Sr7E9sx7JnOFGlExEk7cFEGrHBi7g=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -8,25 +8,30 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "voluptuous-serialize"; pname = "voluptuous-serialize";
version = "2.5.0"; version = "2.6.0";
format = "setuptools";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
repo = pname; repo = "voluptuous-serialize";
rev = version; rev = "refs/tags/${version}";
sha256 = "sha256-8rWMz8tBanxHdU/F4HhBxxz3ltqbdRoP4JED2dmZfTk="; hash = "sha256-vvreXSQDkA3JkZpOKZqJgMRyObJX/cSR8r+A26h9fNE=";
}; };
propagatedBuildInputs = [ voluptuous ]; propagatedBuildInputs = [
voluptuous
];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
voluptuous voluptuous
]; ];
pythonImportsCheck = [ "voluptuous_serialize" ]; pythonImportsCheck = [
"voluptuous_serialize"
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/home-assistant-libs/voluptuous-serialize"; homepage = "https://github.com/home-assistant-libs/voluptuous-serialize";

View file

@ -3,7 +3,7 @@
, aiodns , aiodns
, aiohttp , aiohttp
, buildPythonPackage , buildPythonPackage
, cchardet , faust-cchardet
, fetchFromGitHub , fetchFromGitHub
, pyopenssl , pyopenssl
, pythonOlder , pythonOlder
@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "vulcan-api"; pname = "vulcan-api";
version = "2.2.1"; version = "2.3.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -25,14 +25,14 @@ buildPythonPackage rec {
owner = "kapi2289"; owner = "kapi2289";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-0V1skTJdiL04jVKsMb0Kysbw36bQ3EAJG3YT7ik36zQ="; hash = "sha256-5Tj611p4wYn7GjoCtCTRhUZkKyAJglHcci76ciVFWik=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
aenum aenum
aiodns aiodns
aiohttp aiohttp
cchardet faust-cchardet
pyopenssl pyopenssl
pytz pytz
related related

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "xknx"; pname = "xknx";
version = "2.4.0"; version = "2.6.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "XKNX"; owner = "XKNX";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-MSk/c2qLztq5GQ6+CzK0Jw+rOJTClguaoL284YaBPjw="; hash = "sha256-ivqUego6a9ieSxgHKd3szVAE23zMI54nYqbZjHIgVVE=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -2,15 +2,17 @@
, aiohttp , aiohttp
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, paho-mqtt , asyncio-mqtt
, pydantic , pydantic
, pythonOlder , pythonOlder
, setuptools
, tenacity
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "yolink-api"; pname = "yolink-api";
version = "0.1.5"; version = "0.2.8";
format = "setuptools"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -18,13 +20,18 @@ buildPythonPackage rec {
owner = "YoSmart-Inc"; owner = "YoSmart-Inc";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-6Ch17aKUT8jVUo+pYD5EvydEzP/TTjLtgkUQJnHYkKg="; hash = "sha256-dcuP2VPAp3Na1o9DV3bPejCrtaIxvt+g/vRaQYqI67Q=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
paho-mqtt asyncio-mqtt
pydantic pydantic
tenacity
]; ];
# Module has no tests # Module has no tests

View file

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zeroconf"; pname = "zeroconf";
version = "0.47.1"; version = "0.47.3";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "jstasiak"; owner = "jstasiak";
repo = "python-zeroconf"; repo = "python-zeroconf";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-vY4n0QIEzumtUayRbGGqycR3z7kpbOH4XKxSMcnTVrA="; hash = "sha256-hpbJ7kcyM8S2xAaVjuPzHXl/gcAYk3CX7NHxsbZXQ10=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -18,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zigpy-znp"; pname = "zigpy-znp";
version = "0.9.2"; version = "0.9.3";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "zigpy"; owner = "zigpy";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-orJDOnkZH9siDg8H8M8C0UTxJfWPTB+gBNtUM6s4F94="; sha256 = "sha256-UTL7g9tIXtMVeBRq5Fdw5VqUB9H/LaobASwHlFPoO2s=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zwave-js-server-python"; pname = "zwave-js-server-python";
version = "0.44.0"; version = "0.46.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-AG8LXdQvutlgeg7543bDx8Znidf67CzusnnD6GOakf4="; hash = "sha256-EeQ0gUSDsHIJnp1Oc2Imld4ZFa5maX8xj6GzchHlCoc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2023.2.5"; version = "2023.3.0";
components = { components = {
"3_day_blinds" = ps: with ps; [ "3_day_blinds" = ps: with ps; [
]; ];
@ -70,10 +70,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -200,10 +197,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -355,10 +349,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -378,9 +369,6 @@
bluetooth-data-tools bluetooth-data-tools
dbus-fast dbus-fast
fnvhash fnvhash
home-assistant-frontend
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -398,10 +386,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -420,10 +405,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -492,10 +474,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -811,6 +790,25 @@
]; ];
"dooya" = ps: with ps; [ "dooya" = ps: with ps; [
]; ];
"dormakaba_dkey" = ps: with ps; [
aioesphomeapi
aiohttp-cors
aioruuvigateway
aioshelly
bleak-retry-connector
bleak
bluetooth-adapters
bluetooth-auto-recovery
bluetooth-data-tools
dbus-fast
esphome-dashboard-api
fnvhash
ifaddr
pyserial
pyudev
sqlalchemy
zeroconf
]; # missing inputs: py-dormakaba-dkey
"dovado" = ps: with ps; [ "dovado" = ps: with ps; [
]; # missing inputs: dovado ]; # missing inputs: dovado
"downloader" = ps: with ps; [ "downloader" = ps: with ps; [
@ -843,6 +841,8 @@
"eafm" = ps: with ps; [ "eafm" = ps: with ps; [
aioeafm aioeafm
]; ];
"easyenergy" = ps: with ps; [
]; # missing inputs: easyenergy
"ebox" = ps: with ps; [ "ebox" = ps: with ps; [
]; # missing inputs: pyebox ]; # missing inputs: pyebox
"ebusd" = ps: with ps; [ "ebusd" = ps: with ps; [
@ -974,10 +974,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -997,10 +994,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -1023,10 +1017,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -1074,7 +1065,7 @@
ha-ffmpeg ha-ffmpeg
]; ];
"fibaro" = ps: with ps; [ "fibaro" = ps: with ps; [
fiblary3-fork pyfibaro
]; ];
"fido" = ps: with ps; [ "fido" = ps: with ps; [
pyfido pyfido
@ -1127,10 +1118,7 @@
esphome-dashboard-api esphome-dashboard-api
fjaraskupan fjaraskupan
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -1376,10 +1364,7 @@
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
govee-ble govee-ble
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -1423,12 +1408,7 @@
]; ];
"hardkernel" = ps: with ps; [ "hardkernel" = ps: with ps; [
aiohttp-cors aiohttp-cors
fnvhash
home-assistant-frontend
janus
pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy
]; ];
"hardware" = ps: with ps; [ "hardware" = ps: with ps; [
psutil-home-assistant psutil-home-assistant
@ -1441,11 +1421,6 @@
]; ];
"hassio" = ps: with ps; [ "hassio" = ps: with ps; [
aiohttp-cors aiohttp-cors
fnvhash
home-assistant-frontend
janus
pillow
sqlalchemy
]; ];
"havana_shade" = ps: with ps; [ "havana_shade" = ps: with ps; [
]; ];
@ -1514,15 +1489,12 @@
aiohttp-cors aiohttp-cors
bellows bellows
fnvhash fnvhash
home-assistant-frontend
ifaddr
janus janus
pillow pillow
pyserial-asyncio pyserial-asyncio
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
zeroconf
zha-quirks zha-quirks
zigpy-deconz zigpy-deconz
zigpy-xbee zigpy-xbee
@ -1534,8 +1506,6 @@
aiohttp-cors aiohttp-cors
bellows bellows
fnvhash fnvhash
home-assistant-frontend
ifaddr
janus janus
pillow pillow
psutil-home-assistant psutil-home-assistant
@ -1543,7 +1513,6 @@
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
zeroconf
zha-quirks zha-quirks
zigpy-deconz zigpy-deconz
zigpy-xbee zigpy-xbee
@ -1555,8 +1524,6 @@
aiohttp-cors aiohttp-cors
bellows bellows
fnvhash fnvhash
home-assistant-frontend
ifaddr
janus janus
pillow pillow
psutil-home-assistant psutil-home-assistant
@ -1564,7 +1531,6 @@
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
zeroconf
zha-quirks zha-quirks
zigpy-deconz zigpy-deconz
zigpy-xbee zigpy-xbee
@ -1598,11 +1564,10 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus pyroute2
pillow
pyserial pyserial
python-otbr-api
pyudev pyudev
sqlalchemy sqlalchemy
zeroconf zeroconf
@ -1683,11 +1648,8 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ibeacon-ble ibeacon-ble
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -1744,11 +1706,8 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
inkbird-ble inkbird-ble
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -1877,11 +1836,8 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
kegtron-ble kegtron-ble
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -1907,10 +1863,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -1930,6 +1883,8 @@
pykmtronic pykmtronic
]; ];
"knx" = ps: with ps; [ "knx" = ps: with ps; [
aiohttp-cors
janus
xknx xknx
]; ];
"kodi" = ps: with ps; [ "kodi" = ps: with ps; [
@ -1999,10 +1954,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -2021,11 +1973,8 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
led-ble led-ble
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -2233,10 +2182,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -2320,11 +2266,8 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
moat-ble moat-ble
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -2378,15 +2321,13 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus mopeka-iot-ble
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
zeroconf zeroconf
]; # missing inputs: mopeka_iot_ble ];
"motion_blinds" = ps: with ps; [ "motion_blinds" = ps: with ps; [
aiohttp-cors aiohttp-cors
fnvhash fnvhash
@ -2593,7 +2534,8 @@
aio-geojson-nsw-rfs-incidents aio-geojson-nsw-rfs-incidents
]; ];
"nuheat" = ps: with ps; [ "nuheat" = ps: with ps; [
]; # missing inputs: nuheat nuheat
];
"nuki" = ps: with ps; [ "nuki" = ps: with ps; [
pynuki pynuki
]; ];
@ -2638,8 +2580,6 @@
"onboarding" = ps: with ps; [ "onboarding" = ps: with ps; [
aiohttp-cors aiohttp-cors
fnvhash fnvhash
home-assistant-frontend
janus
pillow pillow
sqlalchemy sqlalchemy
]; ];
@ -2725,11 +2665,8 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
oralb-ble oralb-ble
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -2745,11 +2682,12 @@
"otbr" = ps: with ps; [ "otbr" = ps: with ps; [
aiohttp-cors aiohttp-cors
fnvhash fnvhash
home-assistant-frontend ifaddr
janus pyroute2
pillow python-otbr-api
sqlalchemy sqlalchemy
]; # missing inputs: python-otbr-api zeroconf
];
"otp" = ps: with ps; [ "otp" = ps: with ps; [
pyotp pyotp
]; ];
@ -2940,10 +2878,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
qingping-ble qingping-ble
@ -3004,12 +2939,7 @@
]; ];
"raspberry_pi" = ps: with ps; [ "raspberry_pi" = ps: with ps; [
aiohttp-cors aiohttp-cors
fnvhash
home-assistant-frontend
janus
pillow
psutil-home-assistant psutil-home-assistant
sqlalchemy
]; ];
"raspyrfm" = ps: with ps; [ "raspyrfm" = ps: with ps; [
]; # missing inputs: raspyrfm-client ]; # missing inputs: raspyrfm-client
@ -3139,9 +3069,6 @@
bluetooth-data-tools bluetooth-data-tools
dbus-fast dbus-fast
fnvhash fnvhash
home-assistant-frontend
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -3159,10 +3086,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
ruuvitag-ble ruuvitag-ble
@ -3260,10 +3184,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -3288,10 +3209,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sensorpro-ble sensorpro-ble
@ -3311,10 +3229,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sensorpush-ble sensorpush-ble
@ -3362,9 +3277,6 @@
bluetooth-data-tools bluetooth-data-tools
dbus-fast dbus-fast
fnvhash fnvhash
home-assistant-frontend
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -3490,10 +3402,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pysnooz pysnooz
pyudev pyudev
@ -3673,10 +3582,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -3798,10 +3704,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -3823,10 +3726,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -3845,6 +3745,13 @@
"thomson" = ps: with ps; [ "thomson" = ps: with ps; [
]; ];
"thread" = ps: with ps; [ "thread" = ps: with ps; [
aiohttp-cors
fnvhash
ifaddr
pyroute2
python-otbr-api
sqlalchemy
zeroconf
]; ];
"threshold" = ps: with ps; [ "threshold" = ps: with ps; [
]; ];
@ -3871,10 +3778,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -3924,6 +3828,9 @@
]; ];
"tplink_lte" = ps: with ps; [ "tplink_lte" = ps: with ps; [
]; # missing inputs: tp-connected ]; # missing inputs: tp-connected
"tplink_omada" = ps: with ps; [
tplink-omada-client
];
"traccar" = ps: with ps; [ "traccar" = ps: with ps; [
aiohttp-cors aiohttp-cors
pytraccar pytraccar
@ -4264,10 +4171,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -4303,10 +4207,7 @@
dbus-fast dbus-fast
esphome-dashboard-api esphome-dashboard-api
fnvhash fnvhash
home-assistant-frontend
ifaddr ifaddr
janus
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
@ -4382,15 +4283,12 @@
aiohttp-cors aiohttp-cors
bellows bellows
fnvhash fnvhash
home-assistant-frontend
ifaddr
janus janus
pillow pillow
pyserial-asyncio pyserial-asyncio
pyserial pyserial
pyudev pyudev
sqlalchemy sqlalchemy
zeroconf
zha-quirks zha-quirks
zigpy-deconz zigpy-deconz
zigpy-xbee zigpy-xbee
@ -4804,6 +4702,7 @@
"modern_forms" "modern_forms"
"mold_indicator" "mold_indicator"
"moon" "moon"
"mopeka"
"motion_blinds" "motion_blinds"
"motioneye" "motioneye"
"mqtt" "mqtt"
@ -4839,6 +4738,7 @@
"notify_events" "notify_events"
"notion" "notion"
"nsw_rural_fire_service_feed" "nsw_rural_fire_service_feed"
"nuheat"
"nuki" "nuki"
"number" "number"
"nut" "nut"
@ -4863,6 +4763,7 @@
"openweathermap" "openweathermap"
"opnsense" "opnsense"
"oralb" "oralb"
"otbr"
"overkiz" "overkiz"
"ovo_energy" "ovo_energy"
"owntracks" "owntracks"
@ -5053,6 +4954,7 @@
"toon" "toon"
"totalconnect" "totalconnect"
"tplink" "tplink"
"tplink_omada"
"traccar" "traccar"
"trace" "trace"
"tractive" "tractive"

View file

@ -2,6 +2,7 @@
, lib , lib
, callPackage , callPackage
, fetchFromGitHub , fetchFromGitHub
, fetchPypi
, fetchpatch , fetchpatch
, python3 , python3
, substituteAll , substituteAll
@ -42,16 +43,6 @@ let
}; };
}); });
# https://github.com/postlund/pyatv/issues/1879
aiohttp = super.aiohttp.overridePythonAttrs (oldAttrs: rec {
pname = "aiohttp";
version = "3.8.1";
src = self.fetchPypi {
inherit pname version;
hash = "sha256-/FRx4aVN4V73HBvG6+gNTcaB6mAOaL/Ry85AQn8LdXg=";
};
});
aiowatttime = super.aiowatttime.overridePythonAttrs (oldAttrs: rec { aiowatttime = super.aiowatttime.overridePythonAttrs (oldAttrs: rec {
version = "0.1.1"; version = "0.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -88,16 +79,6 @@ let
}; };
}); });
gridnet = super.gridnet.overridePythonAttrs (oldAttrs: rec {
version = "4.0.0";
src = fetchFromGitHub {
owner = "klaasnicolaas";
repo = "python-gridnet";
rev = "refs/tags/v${version}";
hash = "sha256-Ihs8qUx50tAUcRBsVArRhzoLcQUi1vbYh8sPyK75AEk=";
};
});
# Pinned due to API changes in 10.0 # Pinned due to API changes in 10.0
mcstatus = super.mcstatus.overridePythonAttrs (oldAttrs: rec { mcstatus = super.mcstatus.overridePythonAttrs (oldAttrs: rec {
version = "9.3.0"; version = "9.3.0";
@ -199,6 +180,22 @@ let
doCheck = false; doCheck = false;
}); });
sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
version = "2.0.4";
src = super.fetchPypi {
pname = "SQLAlchemy";
inherit version;
hash = "sha256-laGOGmryEU29nuTxaK0zBw1jF+Ebr6KNmDzHtYX+kAs=";
};
nativeCheckInputs = oldAttrs.nativeCheckInputs ++ (with super; [
pytest-xdist
]);
disabledTestPaths = (oldAttrs.disabledTestPaths or []) ++ [
"test/aaa_profiling"
"test/ext/mypy"
];
});
# Pinned due to API changes in 0.3.0 # Pinned due to API changes in 0.3.0
tailscale = super.tailscale.overridePythonAttrs (oldAttrs: rec { tailscale = super.tailscale.overridePythonAttrs (oldAttrs: rec {
version = "0.2.0"; version = "0.2.0";
@ -266,7 +263,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.2.5"; hassVersion = "2023.3.0";
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -279,18 +276,30 @@ in python.pkgs.buildPythonApplication rec {
# don't try and fail to strip 6600+ python files, it takes minutes! # don't try and fail to strip 6600+ python files, it takes minutes!
dontStrip = true; dontStrip = true;
# PyPI tarball is missing tests/ directory # Primary source is the pypi sdist, because it contains translations
src = fetchFromGitHub { src = fetchPypi {
inherit pname version;
hash = "sha256-JxTvAUKZj59jL1czTBzPD7+6x1K7xGGGwZAO8f8dkzg=";
};
# Secondary source is git for tests
gitSrc = fetchFromGitHub {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-7rH4tEW5gQZ/dPkgGzygfT2PwdZGASuyiFrNyn3hfys="; hash = "sha256-azH9CnHIY0iOLaF3Iqy+uJ6TuftUs1j4RcpXyRQrQws=";
}; };
nativeBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3.pkgs; [
setuptools setuptools
]; ];
# copy tests early, so patches apply as they would to the git repo
prePatch = ''
cp --no-preserve=mode --recursive ${gitSrc}/tests ./
chmod u+x tests/auth/providers/test_command_line_cmd.sh
'';
# leave this in, so users don't have to constantly update their downstream patch handling # leave this in, so users don't have to constantly update their downstream patch handling
patches = [ patches = [
(substituteAll { (substituteAll {
@ -378,6 +387,7 @@ in python.pkgs.buildPythonApplication rec {
requests-mock requests-mock
respx respx
stdlib-list stdlib-list
syrupy
tomli tomli
# required through tests/auth/mfa_modules/test_otp.py # required through tests/auth/mfa_modules/test_otp.py
pyotp pyotp

View file

@ -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 = "20230202.0"; version = "20230301.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-Wo3bQnwTDSAC4EhJeYIXx1wODyx3wA2KMMaM3pJEkGw="; hash = "sha256-2hxP2Wyjkvlje/RnZBtou3Y81d16SYBeAm+JX8hWct4=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package

View file

@ -19,7 +19,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "home-assistant-intents"; pname = "home-assistant-intents";
version = "2023.1.31"; version = "2023.2.28";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "intents"; repo = "intents";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-buq/SLXDFP0xvIb2yGiHQzuL7HKvc7bxxdkhq4KHpvM="; hash = "sha256-u9CLPikht+T9wdQpLELPH/t+pZNcaOfbtfWT6DBwZaw=";
}; };
sourceRoot = "source/package"; sourceRoot = "source/package";

View file

@ -1,8 +1,8 @@
diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py
index 74c826f47d..91f359da2a 100644 index a98766c78c..1c47bb1f80 100644
--- a/homeassistant/components/ffmpeg/__init__.py --- a/homeassistant/components/ffmpeg/__init__.py
+++ b/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py
@@ -40,7 +40,7 @@ CONF_FFMPEG_BIN = "ffmpeg_bin" @@ -41,7 +41,7 @@ CONF_FFMPEG_BIN = "ffmpeg_bin"
CONF_EXTRA_ARGUMENTS = "extra_arguments" CONF_EXTRA_ARGUMENTS = "extra_arguments"
CONF_OUTPUT = "output" CONF_OUTPUT = "output"
@ -12,7 +12,7 @@ index 74c826f47d..91f359da2a 100644
CONFIG_SCHEMA = vol.Schema( CONFIG_SCHEMA = vol.Schema(
{ {
diff --git a/tests/components/ffmpeg/test_init.py b/tests/components/ffmpeg/test_init.py diff --git a/tests/components/ffmpeg/test_init.py b/tests/components/ffmpeg/test_init.py
index e1730ffdab..e9cd7934fd 100644 index 521ac732e5..ab8a56934f 100644
--- a/tests/components/ffmpeg/test_init.py --- a/tests/components/ffmpeg/test_init.py
+++ b/tests/components/ffmpeg/test_init.py +++ b/tests/components/ffmpeg/test_init.py
@@ -87,7 +87,7 @@ class TestFFmpegSetup: @@ -87,7 +87,7 @@ class TestFFmpegSetup:

View file

@ -3,18 +3,21 @@
, fetchFromGitHub , fetchFromGitHub
, poetry-core , poetry-core
, home-assistant , home-assistant
, python
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "homeassistant-stubs"; pname = "homeassistant-stubs";
version = "2023.2.5"; version = "2023.3.0";
format = "pyproject"; format = "pyproject";
disabled = python.version != home-assistant.python.version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "KapJI"; owner = "KapJI";
repo = "homeassistant-stubs"; repo = "homeassistant-stubs";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-MQYk4DWvmqtPl00L1c00JclKkTZe9EYMrm/LucUHBE0="; hash = "sha256-svFp3MYj+DIwCT9+/G+lYPRwxGMtJbJQuBD5e+5r0Z4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -19,8 +19,10 @@ let
homeassistant_sky_connect = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zwave-js-server-python ]; homeassistant_sky_connect = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zwave-js-server-python ];
homeassistant_yellow = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ]; homeassistant_yellow = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ];
lovelace = [ PyChromecast ]; lovelace = [ PyChromecast ];
mopeka = [ pyswitchbot ];
nest = [ av ]; nest = [ av ];
onboarding = [ pymetno radios rpi-bad-power ]; onboarding = [ pymetno radios rpi-bad-power ];
otbr = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ];
raspberry_pi = [ rpi-bad-power ]; raspberry_pi = [ rpi-bad-power ];
shelly = [ pyswitchbot ]; shelly = [ pyswitchbot ];
tilt_ble = [ govee-ble ibeacon-ble ]; tilt_ble = [ govee-ble ibeacon-ble ];
@ -55,6 +57,9 @@ let
logbook = [ logbook = [
"--deselect tests/components/logbook/test_websocket_api.py::test_recorder_is_far_behind " "--deselect tests/components/logbook/test_websocket_api.py::test_recorder_is_far_behind "
]; ];
modbus = [
"--deselect tests/components/modbus/test_init.py::test_pymodbus_connect_fail"
];
modem_callerid = [ modem_callerid = [
# aioserial mock produces wrong state # aioserial mock produces wrong state
"--deselect tests/components/modem_callerid/test_init.py::test_setup_entry" "--deselect tests/components/modem_callerid/test_init.py::test_setup_entry"
@ -83,7 +88,7 @@ in lib.listToAttrs (map (component: lib.nameValuePair component (
dontUsePytestXdist = true; dontUsePytestXdist = true;
pytestFlagsArray = lib.remove "tests" old.pytestFlagsArray pytestFlagsArray = lib.remove "tests" old.pytestFlagsArray
++ [ "--numprocesses=4" ] ++ [ "--numprocesses=2" ]
++ extraPytestFlagsArray.${component} or [ ] ++ extraPytestFlagsArray.${component} or [ ]
++ [ "tests/components/${component}" ]; ++ [ "tests/components/${component}" ];

View file

@ -3327,6 +3327,8 @@ self: super: with self; {
fasttext-predict = callPackage ../development/python-modules/fasttext-predict { }; fasttext-predict = callPackage ../development/python-modules/fasttext-predict { };
faust-cchardet = callPackage ../development/python-modules/faust-cchardet { };
favicon = callPackage ../development/python-modules/favicon { }; favicon = callPackage ../development/python-modules/favicon { };
fb-re2 = callPackage ../development/python-modules/fb-re2 { }; fb-re2 = callPackage ../development/python-modules/fb-re2 { };
@ -6534,6 +6536,8 @@ self: super: with self; {
Nuitka = callPackage ../development/python-modules/nuitka { }; Nuitka = callPackage ../development/python-modules/nuitka { };
nuheat = callPackage ../development/python-modules/nuheat { };
nulltype = callPackage ../development/python-modules/nulltype { }; nulltype = callPackage ../development/python-modules/nulltype { };
num2words = callPackage ../development/python-modules/num2words { }; num2words = callPackage ../development/python-modules/num2words { };
@ -7391,6 +7395,8 @@ self: super: with self; {
python-memcached = callPackage ../development/python-modules/python-memcached { }; python-memcached = callPackage ../development/python-modules/python-memcached { };
python-otbr-api = callPackage ../development/python-modules/python-otbr-api { };
python-openems = callPackage ../development/python-modules/python-openems { }; python-openems = callPackage ../development/python-modules/python-openems { };
python-openzwave-mqtt = callPackage ../development/python-modules/python-openzwave-mqtt { }; python-openzwave-mqtt = callPackage ../development/python-modules/python-openzwave-mqtt { };