git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #157900 from mweinelt/home-assistant
commit4a6f352305e19ba4b683dee56948459b86a20298 authorMartin Weinelt <mweinelt@users.noreply.github.com> dateThu 3 Feb 2022, 13:16 (5 years ago) parentb8305076267a99
43 files changed+178−283
nixos/modules/services/misc/home-assistant.nix+1−1 pkgs/development/python-modules/aiodiscover/default.nix+9−3 pkgs/development/python-modules/aiohue/default.nix+2−2 pkgs/development/python-modules/aiohwenergy/default.nix+2−2 pkgs/development/python-modules/aiolookin/default.nix+2−2 pkgs/development/python-modules/async-upnp-client/default.nix+2−2 pkgs/development/python-modules/awesomeversion/default.nix+2−2 pkgs/development/python-modules/eebrightbox/default.nix−58 pkgs/development/python-modules/emoji/default.nix+2−2 pkgs/development/python-modules/fritzconnection/default.nix+2−2 pkgs/development/python-modules/garages-amsterdam/default.nix+9−3 pkgs/development/python-modules/glances-api/default.nix+2−2 pkgs/development/python-modules/glean-sdk/default.nix+3−9 pkgs/development/python-modules/glean-sdk/fix-spawned-process-environment.patch−20 pkgs/development/python-modules/google-nest-sdm/default.nix+4−2 pkgs/development/python-modules/hass-nabucasa/default.nix+2−2 pkgs/development/python-modules/influxdb/default.nix+5−15 pkgs/development/python-modules/mill-local/default.nix+2−2 pkgs/development/python-modules/pyatv/default.nix+13−9 pkgs/development/python-modules/pydaikin/default.nix+3−3 pkgs/development/python-modules/pyezviz/default.nix+2−2 pkgs/development/python-modules/pyinsteon/default.nix+2−2 pkgs/development/python-modules/pylitterbot/default.nix+2−2 pkgs/development/python-modules/pynina/default.nix+6−7 pkgs/development/python-modules/pynuki/default.nix+7−2 pkgs/development/python-modules/pypck/default.nix+2−2 pkgs/development/python-modules/pysml/default.nix+8−2 pkgs/development/python-modules/renault-api/default.nix+2−2 pkgs/development/python-modules/rflink/default.nix+2−11 pkgs/development/python-modules/sentry-sdk/default.nix+2−2 pkgs/development/python-modules/soco/default.nix+4−2 pkgs/development/python-modules/wled/default.nix+2−2 pkgs/development/python-modules/xknx/default.nix+2−2 pkgs/development/python-modules/yalesmartalarmclient/default.nix+2−2 pkgs/development/python-modules/yalexs/default.nix+2−2 pkgs/development/python-modules/zeroconf/default.nix+2−2 pkgs/development/python-modules/zwave-js-server-python/default.nix+2−2 pkgs/servers/home-assistant/component-packages.nix+45−19 pkgs/servers/home-assistant/default.nix+10−64 pkgs/servers/home-assistant/frontend.nix+2−2 pkgs/servers/home-assistant/tests.nix+2−5 pkgs/top-level/python-aliases.nix+1 pkgs/top-level/python-packages.nix−2
nixos/modules/services/misc/home-assistant.nix+1−1
@@ -329,7 +329,7 @@ in {
329329 "zwave_js"
330330 ];
331331 in {
332− ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'";
332+ ExecStart = "${package}/bin/hass --config '${cfg.configDir}'";
333333 ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
334334 User = "hass";
335335 Group = "hass";
pkgs/development/python-modules/aiodiscover/default.nix+9−3
@@ -3,6 +3,7 @@
33, dnspython
44, fetchFromGitHub
55, ifaddr
6+, netifaces
67, pyroute2
78, pytest-asyncio
89, pytestCheckHook
@@ -11,18 +12,21 @@
1112
1213buildPythonPackage rec {
1314 pname = "aiodiscover";
14− version = "1.4.5";
15+ version = "1.4.7";
16+ format = "setuptools";
17+
1518 disabled = pythonOlder "3.7";
1619
1720 src = fetchFromGitHub {
1821 owner = "bdraco";
1922 repo = pname;
2023 rev = "v${version}";
21− sha256 = "sha256-QfeAEFB5WikuriBTcfFIgnJw5H4vEcGIVX47fyDb1Dk=";
24+ sha256 = "sha256-NtiShZpPFl+elYNPLaKAg6uV8pDJv0pyR+NTUiFoMm0=";
2225 };
2326
2427 propagatedBuildInputs = [
2528 dnspython
29+ netifaces
2630 pyroute2
2731 ifaddr
2832 ];
@@ -43,7 +47,9 @@ buildPythonPackage rec {
4347 "test_async_discover_hosts"
4448 ];
4549
46− pythonImportsCheck = ["aiodiscover"];
50+ pythonImportsCheck = [
51+ "aiodiscover"
52+ ];
4753
4854 meta = with lib; {
4955 description = "Python module to discover hosts via ARP and PTR lookup";
pkgs/development/python-modules/aiohue/default.nix+2−2
@@ -7,11 +7,11 @@
77
88buildPythonPackage rec {
99 pname = "aiohue";
10− version = "3.0.11";
10+ version = "4.0.1";
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "sha256-McC5DX3Cti9eGpPniywNY2DvbAqHSFwhek85TJN/zn0=";
14+ sha256 = "sha256-wPqEubd+vUpdj7tM0CTPkW5kV4qlF19T+djlGrtA5h8=";
1515 };
1616
1717 propagatedBuildInputs = [
pkgs/development/python-modules/aiohwenergy/default.nix+2−2
@@ -8,7 +8,7 @@
88
99buildPythonPackage rec {
1010 pname = "aiohwenergy";
11− version = "0.7.0";
11+ version = "0.8.0";
1212 format = "setuptools";
1313
1414 disabled = pythonOlder "3.7";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
1717 owner = "DCSBL";
1818 repo = pname;
1919 rev = version;
20− sha256 = "0pgk9ky4kfb1kp0mpyxdinwql1q85a3bl5w34pr88wqdqdw467ms";
20+ sha256 = "sha256-WfkwIxyDzLNzhWNWST/V3iN9Bhu2oXDwGiA5UXCq5ho=";
2121 };
2222
2323 propagatedBuildInputs = [
pkgs/development/python-modules/aiolookin/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "aiolookin";
14− version = "0.0.4";
14+ version = "0.1.0";
1515 format = "setuptools";
1616
1717 disabled = pythonOlder "3.8";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "ANMalko";
2121 repo = pname;
2222 rev = "v${version}";
23− sha256 = "sha256-Kqys76c/9Mw3ETgF0N4rA9mz5DELwTMjAK38PPN8Ahs=";
23+ sha256 = "sha256-l3A1fOydAUQ4arR7Zl/PDYksp53C/56fVVcz35q1hjY=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/async-upnp-client/default.nix+2−2
@@ -14,14 +14,14 @@
1414
1515buildPythonPackage rec {
1616 pname = "async-upnp-client";
17− version = "0.23.1";
17+ version = "0.23.4";
1818 disabled = pythonOlder "3.6";
1919
2020 src = fetchFromGitHub {
2121 owner = "StevenLooman";
2222 repo = "async_upnp_client";
2323 rev = version;
24− sha256 = "sha256-m8oTqGbsJ99ImtnSlL4LX1qR0bUhGtVPPWmjsZfV6sE=";
24+ sha256 = "sha256-FrH5PwNpXZpNk7mUnMBGA9MQUPBqBEOoMd9T5ond2WA=";
2525 };
2626
2727 propagatedBuildInputs = [
pkgs/development/python-modules/awesomeversion/default.nix+2−2
@@ -7,7 +7,7 @@
77
88buildPythonPackage rec {
99 pname = "awesomeversion";
10− version = "21.11.0";
10+ version = "22.1.0";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.8";
@@ -16,7 +16,7 @@ buildPythonPackage rec {
1616 owner = "ludeeus";
1717 repo = pname;
1818 rev = version;
19− sha256 = "sha256-qxN5AdLlzadG0/raeAyJ/37PLgYLndl1JQSVkgdLv/4=";
19+ sha256 = "sha256-eoY920c8mgunvZd0M/vR7+bMCPFqqCm3F/fq0vo6K/0=";
2020 };
2121
2222 postPatch = ''
pkgs/development/python-modules/eebrightbox/default.nixdeleted−58
@@ -1,58 +0,0 @@
1−{ lib
2−, buildPythonPackage
3−, fetchFromGitHub
4−, pbr
5−, calmjs-parse
6−, certifi
7−, chardet
8−, idna
9−, ply
10−, requests
11−, urllib3
12−, httpretty
13−, pytestCheckHook
14−}:
15−
16−buildPythonPackage rec {
17− pname = "eebrightbox";
18− version = "0.0.6";
19−
20− src = fetchFromGitHub {
21− owner = "krygal";
22− repo = "eebrightbox";
23− rev = version;
24− sha256 = "1kms240g01871qbvyc5rzf86yxsrlnfvp323jh4k35fpf45z44rr";
25− };
26−
27− postPatch = ''
28− substituteInPlace requirements.txt --replace "==" ">="
29− '';
30−
31− nativeBuildInputs = [
32− pbr
33− ];
34−
35− PBR_VERSION = version;
36−
37− propagatedBuildInputs = [
38− calmjs-parse
39− certifi
40− chardet
41− idna
42− ply
43− requests
44− urllib3
45− ];
46−
47− checkInputs = [
48− httpretty
49− pytestCheckHook
50− ];
51−
52− meta = with lib; {
53− description = "Connector for EE BrightBox routers";
54− homepage = "https://github.com/krygal/eebrightbox";
55− license = licenses.mit;
56− maintainers = with maintainers; [ dotlambda ];
57− };
58−}
pkgs/development/python-modules/emoji/default.nix+2−2
@@ -6,13 +6,13 @@
66
77buildPythonPackage rec {
88 pname = "emoji";
9− version = "1.6.2";
9+ version = "1.6.3";
1010
1111 src = fetchFromGitHub {
1212 owner = "carpedm20";
1313 repo = pname;
1414 rev = "v${version}";
15− sha256 = "1g927w9l3j5mycg6pqa4vjk2lyy35sppfp8pbzb6mvca500001rk";
15+ sha256 = "sha256-0QOtsHGhqbjaEDpSbUXdE8+u6xzWbrTexx+BAeYwKa8=";
1616 };
1717
1818 checkInputs = [
pkgs/development/python-modules/fritzconnection/default.nix+2−2
@@ -8,7 +8,7 @@
88
99buildPythonPackage rec {
1010 pname = "fritzconnection";
11− version = "1.7.2";
11+ version = "1.9.1";
1212 format = "setuptools";
1313
1414 disabled = pythonOlder "3.6";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
1717 owner = "kbr";
1818 repo = pname;
1919 rev = version;
20− sha256 = "sha256-TT0mc3ID+R5Dhm0xSMpyg68wZR70xJfRfgPkHkvLstA=";
20+ sha256 = "sha256-wapZ4lCG0tfE+LbFVeIxVlbMJN/sSwIeYK5GLCqoWLs=";
2121 };
2222
2323 propagatedBuildInputs = [
pkgs/development/python-modules/garages-amsterdam/default.nix+9−3
@@ -2,21 +2,27 @@
22, buildPythonPackage
33, fetchFromGitHub
44, pythonOlder
5+, poetry-core
56, aiohttp
67}:
78
89buildPythonPackage rec {
910 pname = "garages-amsterdam";
10− version = "2.1.1";
11+ version = "3.2.1";
12+ format = "pyproject";
1113 disabled = pythonOlder "3.7";
1214
1315 src = fetchFromGitHub {
1416 owner = "klaasnicolaas";
1517 repo = "garages_amsterdam";
16− rev = version;
17− sha256 = "1m0bc3bzb83apprk412s7k5r2g6p5br2hrak2a976lh9ifk1d8hj";
18+ rev = "v${version}";
19+ sha256 = "16f2742r9p3mrg2nz8lnkgsxabbjga2qnp9vzq59026q6mmfwkm9";
1820 };
1921
22+ nativeBuildInputs = [
23+ poetry-core
24+ ];
25+
2026 propagatedBuildInputs = [
2127 aiohttp
2228 ];
pkgs/development/python-modules/glances-api/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "glances-api";
14− version = "0.3.3";
14+ version = "0.3.4";
1515 format = "pyproject";
1616
1717 disabled = pythonOlder "3.8";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "home-assistant-ecosystem";
2121 repo = "python-glances-api";
2222 rev = version;
23− sha256 = "sha256-F3jmYBZNzI4hRmH1J+S5RwxjouZNcUJOnD3QpX1J39s=";
23+ sha256 = "sha256-mV67mppzx3lka04bxQ5CdufknZTTqWqGJzqPaHb4C2o=";
2424 };
2525
2626 nativeBuildInputs = [
pkgs/development/python-modules/glean-sdk/default.nix+3−9
@@ -12,23 +12,17 @@
1212
1313buildPythonPackage rec {
1414 pname = "glean-sdk";
15− version = "42.2.0";
15+ version = "43.0.2";
1616
1717 src = fetchPypi {
1818 inherit pname version;
19− sha256 = "sha256-X2p6KQnEB6ZHdCHGFVEoEMiI+0R2vfGqel+jFKTcx74=";
19+ sha256 = "sha256-9LLE7cUJhJ+0/rFtVkSdiXUohrXW0JFy3XcYMAAivfw=";
2020 };
2121
22− patches = [
23− # Fix the environment for spawned process
24− # https://github.com/mozilla/glean/pull/1542
25− ./fix-spawned-process-environment.patch
26− ];
27−
2822 cargoDeps = rustPlatform.fetchCargoTarball {
2923 inherit src;
3024 name = "${pname}-${version}";
31− sha256 = "sha256-/+rKGPYTLovgjTGL2F/pWzlUy1tY207yuJz3Xdhm1hg=";
25+ sha256 = "sha256:1qi7zn2278jpry466w3xj1wpyy5f82bffi55i6nva591i3r1z4am";
3226 };
3327
3428 nativeBuildInputs = [
pkgs/development/python-modules/glean-sdk/fix-spawned-process-environment.patchdeleted−20
@@ -1,20 +0,0 @@
1−diff --git a/glean-core/python/glean/_process_dispatcher.py b/glean-core/python/glean/_process_dispatcher.py
2−index 33a8b12796..a39b54a917 100644
3−--- a/glean-core/python/glean/_process_dispatcher.py
4−+++ b/glean-core/python/glean/_process_dispatcher.py
5−@@ -120,8 +120,14 @@ def dispatch(cls, func, args) -> Union[_SyncWorkWrapper, subprocess.Popen]:
6− Path(".coveragerc").absolute()
7− )
8−
9−+ # Explicitly pass the contents of `sys.path` as `PYTHONPATH` to the
10−+ # subprocess so that there aren't any module search path
11−+ # differences.
12−+ python_path = ":".join(sys.path)[1:]
13−+
14− p = subprocess.Popen(
15−- [sys.executable, _process_dispatcher_helper.__file__, payload]
16−+ [sys.executable, _process_dispatcher_helper.__file__, payload],
17−+ env={"PYTHONPATH": python_path},
18− )
19−
20− cls._last_process = p
pkgs/development/python-modules/google-nest-sdm/default.nix+4−2
@@ -8,6 +8,7 @@
88, google-auth-oauthlib
99, google-cloud-pubsub
1010, pytest-aiohttp
11+, pytest-asyncio
1112, pytestCheckHook
1213, pythonOlder
1314, requests_oauthlib
@@ -15,7 +16,7 @@
1516
1617buildPythonPackage rec {
1718 pname = "google-nest-sdm";
18− version = "1.5.1";
19+ version = "1.6.0";
1920 format = "setuptools";
2021
2122 disabled = pythonOlder "3.8";
@@ -24,7 +25,7 @@ buildPythonPackage rec {
2425 owner = "allenporter";
2526 repo = "python-google-nest-sdm";
2627 rev = version;
27− sha256 = "sha256-8Y3ixkDl/AmXQMOY+29og5njMh9M2qjwWBGCsiqX5PU=";
28+ sha256 = "sha256-qgowVCsSNa+Gt+fWnR1eMfkbtpZD7DS4ALZYz6KZZTM=";
2829 };
2930
3031 propagatedBuildInputs = [
@@ -39,6 +40,7 @@ buildPythonPackage rec {
3940 asynctest
4041 coreutils
4142 pytest-aiohttp
43+ pytest-asyncio
4244 pytestCheckHook
4345 ];
4446
pkgs/development/python-modules/hass-nabucasa/default.nix+2−2
@@ -15,13 +15,13 @@
1515
1616buildPythonPackage rec {
1717 pname = "hass-nabucasa";
18− version = "0.51.0";
18+ version = "0.52.0";
1919
2020 src = fetchFromGitHub {
2121 owner = "nabucasa";
2222 repo = pname;
2323 rev = version;
24− sha256 = "sha256-qN7AXs4hJpuP+GaxjOPR2CqKMYyDJxTrCuE5HreZnhU=";
24+ sha256 = "sha256-mTbNuER26BPQIjcmlpkdFNeBcNF1vTldaNpoEla0XbM=";
2525 };
2626
2727 postPatch = ''
pkgs/development/python-modules/influxdb/default.nix+5−15
@@ -1,7 +1,7 @@
11{ lib
22, buildPythonPackage
33, python-dateutil
4−, fetchFromGitHub
4+, fetchPypi
55, fetchpatch
66, mock
77, msgpack
@@ -16,13 +16,11 @@
1616
1717buildPythonPackage rec {
1818 pname = "influxdb";
19− version = "5.3.0";
19+ version = "5.3.1";
2020
21− src = fetchFromGitHub {
22− owner = "influxdata";
23− repo = "influxdb-python";
24− rev = "v${version}";
25− sha256 = "1jfkf53jcf8lcq98qc0bw5d1d0yp3558mh8l2dqc9jlsm0smigjs";
21+ src = fetchPypi {
22+ inherit pname version;
23+ sha256 = "0ymjv322mv6y424fmpd70f87152w55mbwwj6i7p3sjzf0ixmxy26";
2624 };
2725
2826 propagatedBuildInputs = [
@@ -41,14 +39,6 @@ buildPythonPackage rec {
4139 pandas
4240 ];
4341
44− patches = [
45− (fetchpatch {
46− # Relaxes msgpack pinning
47− url = "https://github.com/influxdata/influxdb-python/commit/cc41e290f690c4eb67f75c98fa9f027bdb6eb16b.patch";
48− sha256 = "1fb9qrq1kp24pixjwvzhdy67z3h0wnj92aj0jw0a25fd0rdxdvg4";
49− })
50− ];
51−
5242 disabledTests = [
5343 # Tests cause FutureWarning due to use of 'record' instead of 'records' in pandas.
5444 # https://github.com/influxdata/influxdb-python/pull/845
pkgs/development/python-modules/mill-local/default.nix+2−2
@@ -8,7 +8,7 @@
88
99buildPythonPackage rec {
1010 pname = "mill-local";
11− version = "0.1.0";
11+ version = "0.1.1";
1212 format = "setuptools";
1313
1414 disabled = pythonOlder "3.8";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
1717 owner = "Danielhiversen";
1818 repo = "pyMillLocal";
1919 rev = version;
20− sha256 = "0q0frwj9yxdmqi5axl7gxirfflgn8xh1932c6lhp9my2v1d0gdrk";
20+ sha256 = "sha256-OKaR0hpNVBlaZrEmEmHxqRG1i03XP2Z4c7c35YIqe+I=";
2121 };
2222
2323 propagatedBuildInputs = [
pkgs/development/python-modules/pyatv/default.nix+13−9
@@ -14,13 +14,14 @@
1414, pytest-timeout
1515, pytestCheckHook
1616, pythonOlder
17+, requests
1718, srptools
1819, zeroconf
1920}:
2021
2122buildPythonPackage rec {
2223 pname = "pyatv";
23− version = "0.9.8";
24+ version = "0.10.0";
2425 format = "setuptools";
2526
2627 disabled = pythonOlder "3.6";
@@ -29,9 +30,18 @@ buildPythonPackage rec {
2930 owner = "postlund";
3031 repo = pname;
3132 rev = "v${version}";
32− sha256 = "1ns1ys3mwi1s1b8zxcr7xgr1rfnlxwdn2fp680yi09x4d9nmnvqp";
33+ sha256 = "sha256-aYNBFtsnSg3PORq72U0PXPFCTVj2+8D2TS3nMau55t4=";
3334 };
3435
36+ postPatch = ''
37+ substituteInPlace setup.py \
38+ --replace "pytest-runner" ""
39+ # Remove all version pinning
40+
41+ substituteInPlace base_versions.txt \
42+ --replace "protobuf==3.19.1,<4" "protobuf>=3.19.0,<4"
43+ '';
44+
3545 propagatedBuildInputs = [
3646 aiohttp
3747 bitarray
@@ -40,6 +50,7 @@ buildPythonPackage rec {
4050 miniaudio
4151 netifaces
4252 protobuf
53+ requests
4354 srptools
4455 zeroconf
4556 ];
@@ -52,13 +63,6 @@ buildPythonPackage rec {
5263 pytestCheckHook
5364 ];
5465
55− postPatch = ''
56− substituteInPlace setup.py \
57− --replace "pytest-runner" ""
58− # Remove all version pinning
59− sed -i -e "s/==[0-9.]*//" requirements/requirements.txt
60− '';
61−
6266 disabledTestPaths = [
6367 # Test doesn't work in the sandbox
6468 "tests/protocols/companion/test_companion_auth.py"
pkgs/development/python-modules/pydaikin/default.nix+3−3
@@ -12,14 +12,14 @@
1212
1313buildPythonPackage rec {
1414 pname = "pydaikin";
15− version = "2.6.0";
15+ version = "2.7.0";
1616 disabled = pythonOlder "3.6";
1717
1818 src = fetchFromBitbucket {
1919 owner = "mustang51";
2020 repo = pname;
2121 rev = "v${version}";
22− sha256 = "sha256-Fk6zMWgvhKp+7BMDGw89Akb4fgK6+xi+AyvEY3pdTQQ=";
22+ sha256 = "sha256-k6NAQvt79Qo7sAXQwOjq4Coz2iTZAUImasc/oMSpmmg=";
2323 };
2424
2525 propagatedBuildInputs = [
@@ -28,7 +28,7 @@ buildPythonPackage rec {
2828 urllib3
2929 ];
3030
31− # while they have tests, they do not run them in their CI and they fail as of 2.6.0
31+ # while they have tests, they do not run them in their CI and they fail as of 2.7.0
3232 # AttributeError: 'DaikinBRP069' object has no attribute 'last_hour_cool_energy_consumption'
3333 doCheck = false;
3434
pkgs/development/python-modules/pyezviz/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "pyezviz";
14− version = "0.2.0.5";
14+ version = "0.2.0.6";
1515 format = "setuptools";
1616
1717 disabled = pythonOlder "3.6";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "baqs";
2121 repo = "pyEzviz";
2222 rev = version;
23− sha256 = "sha256-a+u8zS69qLHABPSvWEzhM/gdzlLh2RJLTDJjaX4DtpI=";
23+ sha256 = "sha256-3GRyM6OK0EpQ7wepTzqg+XANx9D0OVBTnw98i3b1V/8=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/pyinsteon/default.nix+2−2
@@ -17,14 +17,14 @@
1717
1818buildPythonPackage rec {
1919 pname = "pyinsteon";
20− version = "1.0.13";
20+ version = "1.0.14";
2121 disabled = pythonOlder "3.6";
2222
2323 src = fetchFromGitHub {
2424 owner = pname;
2525 repo = pname;
2626 rev = version;
27− sha256 = "sha256-KVwAF+yoU26ktNRKWQ+nrhS1i90xQxAhRAr4VJ+xtl0=";
27+ sha256 = "sha256-1ByCd7PymRLm67msNu6TXSm37C9KnmEl0v/+flfqz1A=";
2828 };
2929
3030 propagatedBuildInputs = [
pkgs/development/python-modules/pylitterbot/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "pylitterbot";
14− version = "2021.11.0";
14+ version = "2021.12.0";
1515 format = "setuptools";
1616
1717 disabled = pythonOlder "3.6";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "natekspencer";
2121 repo = pname;
2222 rev = version;
23− sha256 = "sha256-HdIxi6RfdXBYEYFEcv/f9wAqKZg/MsEZd6mDYwE45to=";
23+ sha256 = "sha256-hz+MQTxobf7IkOJTpwbDDd3i13FFtxFn2kmCwPV3pu4=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/pynina/default.nix+6−7
@@ -1,22 +1,21 @@
11{ lib
22, aiohttp
33, buildPythonPackage
4−, fetchFromGitLab
4+, fetchPypi
55, pythonOlder
66}:
77
88buildPythonPackage rec {
99 pname = "pynina";
10− version = "unstable-2021-11-11";
10+ version = "0.1.4";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.7";
1414
15− src = fetchFromGitLab {
16− owner = "DeerMaximum";
17− repo = pname;
18− rev = "0ac42b28d48af7bcd9c83f5d425b5b23c4c19f02";
19− sha256 = "FSrFCs/4tfYcSPz9cgR+LFsRbWIHE1X+ZUl8BWSEaWQ=";
15+ src = fetchPypi {
16+ pname = "PyNINA";
17+ inherit version;
18+ sha256 = "1q382b70ydzzbqb9sa5y5w7039rp6q0wyffarrsdw916kbc4zyqd";
2019 };
2120
2221 propagatedBuildInputs = [
pkgs/development/python-modules/pynuki/default.nix+7−2
@@ -7,16 +7,21 @@
77
88buildPythonPackage rec {
99 pname = "pynuki";
10− version = "1.4.1";
10+ version = "1.5.2";
1111 format = "pyproject";
1212
1313 src = fetchFromGitHub {
1414 owner = "pschmitt";
1515 repo = pname;
1616 rev = version;
17− sha256 = "1nymlrf0j430851plp355697p55asfxjmavdh2zr96b16d41dnn4";
17+ sha256 = "sha256-Uqw1Xa0pBQmQsFEBv/l1gtsPy+owYcTZITOYUmMvT5Y=";
1818 };
1919
20+ postPatch = ''
21+ substituteInPlace pyproject.toml \
22+ --replace 'requests = ">=2.27,<3"' 'requests = "*"'
23+ '';
24+
2025 nativeBuildInputs = [ poetry-core ];
2126
2227 propagatedBuildInputs = [ requests ];
pkgs/development/python-modules/pypck/default.nix+2−2
@@ -10,14 +10,14 @@
1010
1111buildPythonPackage rec {
1212 pname = "pypck";
13− version = "0.7.11";
13+ version = "0.7.13";
1414 disabled = pythonOlder "3.8";
1515
1616 src = fetchFromGitHub {
1717 owner = "alengwenus";
1818 repo = pname;
1919 rev = version;
20− sha256 = "1jj0y487qcxrprx4x2rs6r7rqsf5m9khk0xhigbvnbyvh8rsd2jr";
20+ sha256 = "sha256-Gbz+3Hq4yStlTI7UxB4NBZigUzZjSJFFcwdzWtbGnio=";
2121 };
2222
2323 checkInputs = [
pkgs/development/python-modules/pysml/default.nix+8−2
@@ -3,20 +3,26 @@
33, bitstring
44, buildPythonPackage
55, fetchFromGitHub
6+, poetry-core
67, pyserial-asyncio
78}:
89
910buildPythonPackage rec {
1011 pname = "pysml";
11− version = "0.0.5";
12+ version = "0.0.7";
13+ format = "pyproject";
1214
1315 src = fetchFromGitHub {
1416 owner = "mtdcr";
1517 repo = pname;
1618 rev = version;
17− sha256 = "05zgrk49b2y5jflxnjww2kqg1flynl3j4ifm0jr28nk0li5wg2bs";
19+ sha256 = "sha256-h8rQOKZozioZ7HmPETC5wBJyz7rMH1Q2wL6lF8G3zQU=";
1820 };
1921
22+ nativeBuildInputs = [
23+ poetry-core
24+ ];
25+
2026 propagatedBuildInputs = [
2127 async-timeout
2228 bitstring
pkgs/development/python-modules/renault-api/default.nix+2−2
@@ -16,7 +16,7 @@
1616
1717buildPythonPackage rec {
1818 pname = "renault-api";
19− version = "0.1.6";
19+ version = "0.1.7";
2020 format = "pyproject";
2121
2222 disabled = pythonOlder "3.7";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
2525 owner = "hacf-fr";
2626 repo = pname;
2727 rev = "v${version}";
28− sha256 = "0v9a8p0ynikqzg7vvinvik5gjvsc5nrfqkq528mhcw7y4hmj8ndm";
28+ sha256 = "sha256-D0fsJ8mwBPcwuGuRkzgDTrwvnbe5yhilxTx49badKEQ=";
2929 };
3030
3131 nativeBuildInputs = [
pkgs/development/python-modules/rflink/default.nix+2−11
@@ -12,14 +12,14 @@
1212
1313buildPythonPackage rec {
1414 pname = "rflink";
15− version = "0.0.58";
15+ version = "0.0.62";
1616 format = "setuptools";
1717
1818 src = fetchFromGitHub {
1919 owner = "aequitas";
2020 repo = "python-rflink";
2121 rev = version;
22− sha256 = "1zab55lsw419gg0jfrl69ap6128vbi3wdmg5z7qin65ijpjdhasc";
22+ sha256 = "sha256-dEzkYE8xtUzvdsnPaSiQR8960WLOEcr/QhwDiQlobcs=";
2323 };
2424
2525 propagatedBuildInputs = [
@@ -34,15 +34,6 @@ buildPythonPackage rec {
3434 pytestCheckHook
3535 ];
3636
37− patches = [
38− # Remove loop, https://github.com/aequitas/python-rflink/pull/61
39− (fetchpatch {
40− name = "remove-loop.patch";
41− url = "https://github.com/aequitas/python-rflink/commit/777e19b5bde3398df5b8f142896c34a01ae18d52.patch";
42− sha256 = "sJmihxY3fNSfZVFhkvQ/+9gysQup/1jklKDMyDDLOs8=";
43− })
44− ];
45−
4637 postPatch = ''
4738 substituteInPlace setup.py \
4839 --replace "version=version_from_git()" "version='${version}'"
pkgs/development/python-modules/sentry-sdk/default.nix+2−2
@@ -40,14 +40,14 @@
4040
4141buildPythonPackage rec {
4242 pname = "sentry-sdk";
43− version = "1.5.2";
43+ version = "1.5.4";
4444 format = "setuptools";
4545
4646 src = fetchFromGitHub {
4747 owner = "getsentry";
4848 repo = "sentry-python";
4949 rev = version;
50− sha256 = "086kzvrpy1c7kiwjrdyr4i4a8dp4vncsc8dk6hp8c7bwswfffa3d";
50+ sha256 = "sha256-MZ1J2Stq+pRoeJ05hv8cSpxtaeRGaJEWAtidbr8YP88=";
5151 };
5252
5353 propagatedBuildInputs = [
pkgs/development/python-modules/soco/default.nix+4−2
@@ -2,6 +2,7 @@
22, buildPythonPackage
33, fetchFromGitHub
44, graphviz
5+, appdirs
56, ifaddr
67, pythonOlder
78, mock
@@ -14,17 +15,18 @@
1415
1516buildPythonPackage rec {
1617 pname = "soco";
17− version = "0.25.3";
18+ version = "0.26.0";
1819 disabled = pythonOlder "3.6";
1920
2021 src = fetchFromGitHub {
2122 owner = "SoCo";
2223 repo = "SoCo";
2324 rev = "v${version}";
24− sha256 = "sha256-CoAmpcXy4oHMk0X4iJ/XMbUnI2m3ZWl8QzobH677FrI=";
25+ sha256 = "sha256-rOJiO8BBbkp3dzy9hk3LV0hqQDLRgrA1kqnhvrseU0o=";
2526 };
2627
2728 propagatedBuildInputs = [
29+ appdirs
2830 ifaddr
2931 requests
3032 xmltodict
pkgs/development/python-modules/wled/default.nix+2−2
@@ -15,7 +15,7 @@
1515
1616buildPythonPackage rec {
1717 pname = "wled";
18− version = "0.11.0";
18+ version = "0.13.0";
1919 format = "pyproject";
2020
2121 disabled = pythonOlder "3.8";
@@ -24,7 +24,7 @@ buildPythonPackage rec {
2424 owner = "frenck";
2525 repo = "python-wled";
2626 rev = "v${version}";
27− sha256 = "02mc9dbz7lvk7d8aaimggm3vg99bc42njsv8sfchvc9amvdi94qy";
27+ sha256 = "sha256-n+TIzlnyPeSywTQr7wlGNezsbQ2+S/WYt1H95+Id2Rw=";
2828 };
2929
3030 nativeBuildInputs = [
pkgs/development/python-modules/xknx/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "xknx";
14− version = "0.18.15";
14+ version = "0.19.1";
1515 format = "setuptools";
1616
1717 disabled = pythonOlder "3.8";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "XKNX";
2121 repo = pname;
2222 rev = version;
23− sha256 = "sha256-k/fLUuBjXScTvlvoBLZIVPEqNGIPI04FBeTBadp5uiY=";
23+ sha256 = "sha256-CmiibJc8cy0NuGVS9CEsML2DgVRIsNmWsqp9nmzInAA=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/yalesmartalarmclient/default.nix+2−2
@@ -7,13 +7,13 @@
77
88buildPythonPackage rec {
99 pname = "yalesmartalarmclient";
10− version = "0.3.5";
10+ version = "0.3.7";
1111
1212 src = fetchFromGitHub {
1313 owner = "domwillcode";
1414 repo = "yale-smart-alarm-client";
1515 rev = "v${version}";
16− sha256 = "11i7vh61a5xfv32zm7rkigl010wzd6snag6sf7w38256j95nnb05";
16+ sha256 = "sha256-LcHXw4rZhQ942EhiGrRTf3MpT7G5OFSX8QbpxVjvTTo=";
1717 };
1818
1919 propagatedBuildInputs = [
pkgs/development/python-modules/yalexs/default.nix+2−2
@@ -16,7 +16,7 @@
1616
1717buildPythonPackage rec {
1818 pname = "yalexs";
19− version = "1.1.19";
19+ version = "1.1.20";
2020 format = "setuptools";
2121
2222 disabled = pythonOlder "3.6";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
2525 owner = "bdraco";
2626 repo = pname;
2727 rev = "v${version}";
28− sha256 = "sha256-i6UFsSY2DQ4jB316fy5cZ+2C93TTmvyB4Caxj3syPdo=";
28+ sha256 = "sha256-0wcvlgKlWhj9jZ53c+uEk9F28+m7BwsmlwTRlBMPoho=";
2929 };
3030
3131 propagatedBuildInputs = [
pkgs/development/python-modules/zeroconf/default.nix+2−2
@@ -10,7 +10,7 @@
1010
1111buildPythonPackage rec {
1212 pname = "zeroconf";
13− version = "0.38.1";
13+ version = "0.38.3";
1414 format = "setuptools";
1515
1616 disabled = pythonOlder "3.7";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
1919 owner = "jstasiak";
2020 repo = "python-zeroconf";
2121 rev = version;
22− sha256 = "sha256-8bJEH+m+83rkKdN5GjD4THs1CUy/wstoBFiXR7kHKtw=";
22+ sha256 = "sha256-pLTqnIbe7rTZrQFe//0/h5Tyx0GzJW+q9mUuDNifo/0=";
2323 };
2424
2525 propagatedBuildInputs = [
pkgs/development/python-modules/zwave-js-server-python/default.nix+2−2
@@ -9,7 +9,7 @@
99
1010buildPythonPackage rec {
1111 pname = "zwave-js-server-python";
12− version = "0.33.0";
12+ version = "0.34.0";
1313 format = "setuptools";
1414
1515 disabled = pythonOlder "3.8";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
1818 owner = "home-assistant-libs";
1919 repo = pname;
2020 rev = version;
21− sha256 = "sha256-0hAksizQSIOg+hbSq/OZqFqlBBdpa0bSf+puWfD9TSg=";
21+ sha256 = "sha256-hqq/CYlM9ZahDiH3iFLFzfE22CB19WQnFIDt+gCrEXU=";
2222 };
2323
2424 propagatedBuildInputs = [
pkgs/servers/home-assistant/component-packages.nix+45−19
@@ -2,14 +2,14 @@
22# Do not edit!
33
44{
5− version = "2021.12.10";
5+ version = "2022.2.0";
66 components = {
77 "abode" = ps: with ps; [ abodepy ];
88 "accuweather" = ps: with ps; [ accuweather ];
99 "acer_projector" = ps: with ps; [ pyserial ];
1010 "acmeda" = ps: with ps; [ aiopulse ];
1111 "actiontec" = ps: with ps; [ ];
12− "adax" = ps: with ps; [ adax ];
12+ "adax" = ps: with ps; [ adax ]; # missing inputs: Adax-local
1313 "adguard" = ps: with ps; [ adguardhome ];
1414 "ads" = ps: with ps; [ pyads ];
1515 "advantage_air" = ps: with ps; [ advantage-air ];
@@ -45,18 +45,18 @@
4545 "apcupsd" = ps: with ps; [ apcaccess ];
4646 "api" = ps: with ps; [ aiohttp-cors ];
4747 "apns" = ps: with ps; [ ]; # missing inputs: apns2
48− "apple_tv" = ps: with ps; [ pyatv ];
48+ "apple_tv" = ps: with ps; [ aiohttp-cors ifaddr pyatv zeroconf ];
4949 "apprise" = ps: with ps; [ apprise ];
5050 "aprs" = ps: with ps; [ aprslib geopy ];
5151 "aqualogic" = ps: with ps; [ aqualogic ];
5252 "aquostv" = ps: with ps; [ ]; # missing inputs: sharp_aquos_rc
5353 "arcam_fmj" = ps: with ps; [ arcam-fmj ];
54− "arduino" = ps: with ps; [ ]; # missing inputs: PyMata
5554 "arest" = ps: with ps; [ ];
5655 "arlo" = ps: with ps; [ ha-ffmpeg pyarlo ];
5756 "arris_tg2492lg" = ps: with ps; [ ]; # missing inputs: arris-tg2492lg
5857 "aruba" = ps: with ps; [ pexpect ];
5958 "arwn" = ps: with ps; [ aiohttp-cors paho-mqtt ];
59+ "aseko_pool_live" = ps: with ps; [ ]; # missing inputs: aioaseko
6060 "asterisk_cdr" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
6161 "asterisk_mbox" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
6262 "asuswrt" = ps: with ps; [ aioasuswrt ];
@@ -66,6 +66,7 @@
6666 "august" = ps: with ps; [ yalexs ];
6767 "aurora" = ps: with ps; [ auroranoaa ];
6868 "aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy
69+ "aussie_broadband" = ps: with ps; [ ]; # missing inputs: pyaussiebb
6970 "auth" = ps: with ps; [ aiohttp-cors ];
7071 "automation" = ps: with ps; [ aiohttp-cors ];
7172 "avea" = ps: with ps; [ avea ];
@@ -181,6 +182,7 @@
181182 "dexcom" = ps: with ps; [ pydexcom ];
182183 "dhcp" = ps: with ps; [ aiodiscover scapy ];
183184 "dht" = ps: with ps; [ ]; # missing inputs: RPi.GPIO adafruit-circuitpython-dht
185+ "diagnostics" = ps: with ps; [ aiohttp-cors ];
184186 "dialogflow" = ps: with ps; [ aiohttp-cors ];
185187 "digital_ocean" = ps: with ps; [ digital-ocean ];
186188 "digitalloggers" = ps: with ps; [ ]; # missing inputs: dlipower
@@ -223,6 +225,7 @@
223225 "elgato" = ps: with ps; [ elgato ];
224226 "eliqonline" = ps: with ps; [ eliqonline ];
225227 "elkm1" = ps: with ps; [ elkm1-lib ];
228+ "elmax" = ps: with ps; [ elmax-api ];
226229 "elv" = ps: with ps; [ pypca ];
227230 "emby" = ps: with ps; [ pyemby ];
228231 "emoncms" = ps: with ps; [ ];
@@ -282,7 +285,7 @@
282285 "flume" = ps: with ps; [ pyflume ];
283286 "flunearyou" = ps: with ps; [ pyflunearyou ];
284287 "flux" = ps: with ps; [ ];
285− "flux_led" = ps: with ps; [ flux-led ];
288+ "flux_led" = ps: with ps; [ aiohttp-cors flux-led ifaddr ];
286289 "folder" = ps: with ps; [ ];
287290 "folder_watcher" = ps: with ps; [ watchdog ];
288291 "foobot" = ps: with ps; [ foobot-async ];
@@ -325,6 +328,7 @@
325328 "goalfeed" = ps: with ps; [ ]; # missing inputs: pysher
326329 "goalzero" = ps: with ps; [ goalzero ];
327330 "gogogate2" = ps: with ps; [ ismartgate ];
331+ "goodwe" = ps: with ps; [ goodwe ];
328332 "google" = ps: with ps; [ google-api-python-client httplib2 oauth2client ];
329333 "google_assistant" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
330334 "google_cloud" = ps: with ps; [ google-cloud-texttospeech ];
@@ -371,6 +375,7 @@
371375 "homekit_controller" = ps: with ps; [ aiohomekit aiohttp-cors ifaddr zeroconf ];
372376 "homematic" = ps: with ps; [ pyhomematic ];
373377 "homematicip_cloud" = ps: with ps; [ homematicip ];
378+ "homewizard" = ps: with ps; [ aiohwenergy ];
374379 "homeworks" = ps: with ps; [ pyhomeworks ];
375380 "honeywell" = ps: with ps; [ somecomfort ];
376381 "horizon" = ps: with ps; [ ]; # missing inputs: horimote
@@ -402,12 +407,14 @@
402407 "incomfort" = ps: with ps; [ incomfort-client ];
403408 "influxdb" = ps: with ps; [ influxdb-client influxdb ];
404409 "input_boolean" = ps: with ps; [ ];
410+ "input_button" = ps: with ps; [ ];
405411 "input_datetime" = ps: with ps; [ ];
406412 "input_number" = ps: with ps; [ ];
407413 "input_select" = ps: with ps; [ ];
408414 "input_text" = ps: with ps; [ ];
409415 "insteon" = ps: with ps; [ pyinsteon ];
410416 "integration" = ps: with ps; [ ];
417+ "intellifire" = ps: with ps; [ ]; # missing inputs: intellifire4py
411418 "intent" = ps: with ps; [ aiohttp-cors ];
412419 "intent_script" = ps: with ps; [ ];
413420 "intesishome" = ps: with ps; [ pyintesishome ];
@@ -482,7 +489,7 @@
482489 "luftdaten" = ps: with ps; [ luftdaten ];
483490 "lupusec" = ps: with ps; [ lupupy ];
484491 "lutron" = ps: with ps; [ pylutron ];
485− "lutron_caseta" = ps: with ps; [ aiolip pylutron-caseta ];
492+ "lutron_caseta" = ps: with ps; [ pylutron-caseta ];
486493 "lw12wifi" = ps: with ps; [ ]; # missing inputs: lw12
487494 "lyric" = ps: with ps; [ aiohttp-cors aiolyric ];
488495 "magicseaweed" = ps: with ps; [ ]; # missing inputs: magicseaweed
@@ -574,6 +581,7 @@
574581 "nightscout" = ps: with ps; [ py-nightscout ];
575582 "niko_home_control" = ps: with ps; [ niko-home-control ];
576583 "nilu" = ps: with ps; [ niluclient ];
584+ "nina" = ps: with ps; [ pynina ];
577585 "nissan_leaf" = ps: with ps; [ pycarwings2 ];
578586 "nmap_tracker" = ps: with ps; [ aiohttp-cors getmac ifaddr netmap ]; # missing inputs: mac-vendor-lookup
579587 "nmbs" = ps: with ps; [ ]; # missing inputs: pyrail
@@ -601,10 +609,12 @@
601609 "ombi" = ps: with ps; [ pyombi ];
602610 "omnilogic" = ps: with ps; [ omnilogic ];
603611 "onboarding" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
612+ "oncue" = ps: with ps; [ ]; # missing inputs: aiooncue
604613 "ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ];
605614 "onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet
606615 "onkyo" = ps: with ps; [ onkyo-eiscp ];
607616 "onvif" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: WSDiscovery onvif-zeep-async
617+ "open_meteo" = ps: with ps; [ open-meteo ];
608618 "openalpr_cloud" = ps: with ps; [ ];
609619 "openalpr_local" = ps: with ps; [ ];
610620 "opencv" = ps: with ps; [ numpy ]; # missing inputs: opencv-python-headless
@@ -626,6 +636,7 @@
626636 "orvibo" = ps: with ps; [ orvibo ];
627637 "osramlightify" = ps: with ps; [ ]; # missing inputs: lightify
628638 "otp" = ps: with ps; [ pyotp ];
639+ "overkiz" = ps: with ps; [ ]; # missing inputs: pyoverkiz
629640 "ovo_energy" = ps: with ps; [ ovoenergy ];
630641 "owntracks" = ps: with ps; [ pynacl pyturbojpeg aiohttp-cors hass-nabucasa paho-mqtt ];
631642 "ozw" = ps: with ps; [ aiohttp-cors paho-mqtt python-openzwave-mqtt ];
@@ -673,7 +684,7 @@
673684 "pushbullet" = ps: with ps; [ pushbullet ];
674685 "pushover" = ps: with ps; [ pushover-complete ];
675686 "pushsafer" = ps: with ps; [ ];
676− "pvoutput" = ps: with ps; [ jsonpath xmltodict ];
687+ "pvoutput" = ps: with ps; [ pvo ];
677688 "pvpc_hourly_pricing" = ps: with ps; [ aiopvpc ];
678689 "pyload" = ps: with ps; [ ];
679690 "python_script" = ps: with ps; [ restrictedpython ];
@@ -729,6 +740,7 @@
729740 "rpi_rf" = ps: with ps; [ ]; # missing inputs: RPi.GPIO rpi-rf
730741 "rss_feed_template" = ps: with ps; [ aiohttp-cors ];
731742 "rtorrent" = ps: with ps; [ ];
743+ "rtsp_to_webrtc" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; # missing inputs: rtsp-to-webrtc
732744 "ruckus_unleashed" = ps: with ps; [ pyruckus ];
733745 "russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio
734746 "russound_rnet" = ps: with ps; [ ]; # missing inputs: russound
@@ -749,6 +761,7 @@
749761 "sendgrid" = ps: with ps; [ sendgrid ];
750762 "sense" = ps: with ps; [ sense-energy ];
751763 "sensehat" = ps: with ps; [ ]; # missing inputs: sense-hat
764+ "senseme" = ps: with ps; [ ]; # missing inputs: aiosenseme
752765 "sensibo" = ps: with ps; [ ]; # missing inputs: pysensibo
753766 "sensor" = ps: with ps; [ sqlalchemy ];
754767 "sentry" = ps: with ps; [ sentry-sdk ];
@@ -803,7 +816,7 @@
803816 "somfy_mylink" = ps: with ps; [ somfy-mylink-synergy ];
804817 "sonarr" = ps: with ps; [ sonarr ];
805818 "songpal" = ps: with ps; [ python-songpal ];
806− "sonos" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr plexapi plexauth plexwebsocket soco zeroconf ];
819+ "sonos" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr plexapi plexauth plexwebsocket soco spotipy zeroconf ];
807820 "sony_projector" = ps: with ps; [ pysdcp ];
808821 "soundtouch" = ps: with ps; [ aiohttp-cors ifaddr libsoundtouch zeroconf ];
809822 "spaceapi" = ps: with ps; [ aiohttp-cors ];
@@ -822,9 +835,10 @@
822835 "statistics" = ps: with ps; [ sqlalchemy ];
823836 "statsd" = ps: with ps; [ statsd ];
824837 "steam_online" = ps: with ps; [ ]; # missing inputs: steamodd
838+ "steamist" = ps: with ps; [ aiohttp-cors ifaddr ]; # missing inputs: aiosteamist discovery30303
825839 "stiebel_eltron" = ps: with ps; [ pymodbus ]; # missing inputs: pystiebeleltron
826840 "stookalert" = ps: with ps; [ ]; # missing inputs: stookalert
827− "stream" = ps: with ps; [ aiohttp-cors ha-av ];
841+ "stream" = ps: with ps; [ pyturbojpeg aiohttp-cors av ];
828842 "streamlabswater" = ps: with ps; [ streamlabswater ];
829843 "stt" = ps: with ps; [ aiohttp-cors ];
830844 "subaru" = ps: with ps; [ subarulink ];
@@ -848,11 +862,10 @@
848862 "syslog" = ps: with ps; [ ];
849863 "system_bridge" = ps: with ps; [ aiohttp-cors ifaddr systembridge zeroconf ];
850864 "system_health" = ps: with ps; [ aiohttp-cors ];
851− "system_log" = ps: with ps; [ aiohttp-cors ];
865+ "system_log" = ps: with ps; [ ];
852866 "systemmonitor" = ps: with ps; [ psutil ];
853867 "tado" = ps: with ps; [ python-tado ];
854868 "tag" = ps: with ps; [ ];
855− "tahoma" = ps: with ps; [ tahoma-api ];
856869 "tailscale" = ps: with ps; [ tailscale ];
857870 "tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility
858871 "tankerkoenig" = ps: with ps; [ pytankerkoenig ];
@@ -877,7 +890,7 @@
877890 "thinkingcleaner" = ps: with ps; [ ]; # missing inputs: pythinkingcleaner
878891 "thomson" = ps: with ps; [ ];
879892 "threshold" = ps: with ps; [ ];
880− "tibber" = ps: with ps; [ pytibber ];
893+ "tibber" = ps: with ps; [ pytibber sqlalchemy ];
881894 "tikteck" = ps: with ps; [ ]; # missing inputs: tikteck
882895 "tile" = ps: with ps; [ pytile ];
883896 "time_date" = ps: with ps; [ ];
@@ -910,7 +923,7 @@
910923 "twilio" = ps: with ps; [ aiohttp-cors twilio ];
911924 "twilio_call" = ps: with ps; [ aiohttp-cors twilio ];
912925 "twilio_sms" = ps: with ps; [ aiohttp-cors twilio ];
913− "twinkly" = ps: with ps; [ twinkly-client ];
926+ "twinkly" = ps: with ps; [ ]; # missing inputs: ttls
914927 "twitch" = ps: with ps; [ python-twitch-client ];
915928 "twitter" = ps: with ps; [ twitterapi ];
916929 "ubus" = ps: with ps; [ openwrt-ubus-rpc ];
@@ -919,6 +932,7 @@
919932 "unifi" = ps: with ps; [ aiounifi ];
920933 "unifi_direct" = ps: with ps; [ pexpect ];
921934 "unifiled" = ps: with ps; [ unifiled ];
935+ "unifiprotect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pyunifiprotect unifi-discovery
922936 "universal" = ps: with ps; [ ];
923937 "upb" = ps: with ps; [ upb-lib ];
924938 "upc_connect" = ps: with ps; [ connect-box ];
@@ -935,7 +949,7 @@
935949 "vacuum" = ps: with ps; [ ];
936950 "vallox" = ps: with ps; [ ]; # missing inputs: vallox-websocket-api
937951 "vasttrafik" = ps: with ps; [ ]; # missing inputs: vtjp
938− "velbus" = ps: with ps; [ velbus-aio ];
952+ "velbus" = ps: with ps; [ aiohttp-cors pyserial pyudev velbus-aio ];
939953 "velux" = ps: with ps; [ pyvlx ];
940954 "venstar" = ps: with ps; [ venstarcolortouch ];
941955 "vera" = ps: with ps; [ pyvera ];
@@ -967,11 +981,11 @@
967981 "waze_travel_time" = ps: with ps; [ wazeroutecalculator ];
968982 "weather" = ps: with ps; [ ];
969983 "webhook" = ps: with ps; [ aiohttp-cors ];
970− "webostv" = ps: with ps; [ aiopylgtv ];
984+ "webostv" = ps: with ps; [ sqlalchemy ]; # missing inputs: aiowebostv
971985 "websocket_api" = ps: with ps; [ aiohttp-cors ];
972986 "wemo" = ps: with ps; [ pywemo ];
973987 "whirlpool" = ps: with ps; [ whirlpool-sixth-sense ];
974− "whois" = ps: with ps; [ python-whois ];
988+ "whois" = ps: with ps; [ whois ];
975989 "wiffi" = ps: with ps; [ wiffi ];
976990 "wilight" = ps: with ps; [ pywilight ];
977991 "wirelesstag" = ps: with ps; [ ]; # missing inputs: wirelesstagpy
@@ -1023,7 +1037,6 @@
10231037 "abode"
10241038 "accuweather"
10251039 "acmeda"
1026− "adax"
10271040 "adguard"
10281041 "advantage_air"
10291042 "aemet"
@@ -1103,6 +1116,7 @@
11031116 "coronavirus"
11041117 "counter"
11051118 "cover"
1119+ "cpuspeed"
11061120 "crownstone"
11071121 "daikin"
11081122 "darksky"
@@ -1120,10 +1134,12 @@
11201134 "devolo_home_network"
11211135 "dexcom"
11221136 "dhcp"
1137+ "diagnostics"
11231138 "dialogflow"
11241139 "directv"
11251140 "discovery"
11261141 "dlna_dmr"
1142+ "dnsip"
11271143 "doorbird"
11281144 "dsmr"
11291145 "dte_energy_bridge"
@@ -1135,6 +1151,7 @@
11351151 "efergy"
11361152 "elgato"
11371153 "elkm1"
1154+ "elmax"
11381155 "emonitor"
11391156 "emulated_hue"
11401157 "emulated_kasa"
@@ -1162,6 +1179,7 @@
11621179 "fireservicerota"
11631180 "firmata"
11641181 "fjaraskupan"
1182+ "flic"
11651183 "flick_electric"
11661184 "flipr"
11671185 "flo"
@@ -1194,9 +1212,11 @@
11941212 "geonetnz_quakes"
11951213 "geonetnz_volcano"
11961214 "gios"
1215+ "github"
11971216 "glances"
11981217 "goalzero"
11991218 "gogogate2"
1219+ "goodwe"
12001220 "google"
12011221 "google_assistant"
12021222 "google_domains"
@@ -1229,6 +1249,7 @@
12291249 "homekit_controller"
12301250 "homematic"
12311251 "homematicip_cloud"
1252+ "homewizard"
12321253 "honeywell"
12331254 "html5"
12341255 "http"
@@ -1249,6 +1270,7 @@
12491270 "imap_email_content"
12501271 "influxdb"
12511272 "input_boolean"
1273+ "input_button"
12521274 "input_datetime"
12531275 "input_number"
12541276 "input_select"
@@ -1277,6 +1299,7 @@
12771299 "kraken"
12781300 "kulersky"
12791301 "lastfm"
1302+ "launch_library"
12801303 "lcn"
12811304 "light"
12821305 "litterrobot"
@@ -1343,6 +1366,7 @@
13431366 "network"
13441367 "nexia"
13451368 "nightscout"
1369+ "nina"
13461370 "no_ip"
13471371 "notify"
13481372 "notion"
@@ -1356,6 +1380,7 @@
13561380 "omnilogic"
13571381 "onboarding"
13581382 "ondilo_ico"
1383+ "open_meteo"
13591384 "openalpr_cloud"
13601385 "openalpr_local"
13611386 "openerz"
@@ -1389,6 +1414,7 @@
13891414 "proximity"
13901415 "push"
13911416 "pushbullet"
1417+ "pvoutput"
13921418 "pvpc_hourly_pricing"
13931419 "python_script"
13941420 "qld_bushfire"
@@ -1453,6 +1479,7 @@
14531479 "snips"
14541480 "solaredge"
14551481 "solarlog"
1482+ "solax"
14561483 "soma"
14571484 "somfy"
14581485 "somfy_mylink"
@@ -1519,7 +1546,6 @@
15191546 "tuya"
15201547 "twentemilieu"
15211548 "twilio"
1522− "twinkly"
15231549 "twitch"
15241550 "uk_transport"
15251551 "unifi"
@@ -1556,10 +1582,10 @@
15561582 "waze_travel_time"
15571583 "weather"
15581584 "webhook"
1559− "webostv"
15601585 "websocket_api"
15611586 "wemo"
15621587 "whirlpool"
1588+ "whois"
15631589 "wiffi"
15641590 "wilight"
15651591 "wled"
pkgs/servers/home-assistant/default.nix+10−64
@@ -25,19 +25,6 @@
2525
2626let
2727 defaultOverrides = [
28− # aiounify 29 breaks integration tests
29− (self: super: {
30− aiounifi = super.aiounifi.overridePythonAttrs (oldAttrs: rec {
31− version = "28";
32− src = fetchFromGitHub {
33− owner = "Kane610";
34− repo = "aiounifi";
35− rev = "v${version}";
36− sha256 = "1r86pk80sa1la2s7c6v9svh5cpkci6jcw1xziz0h09jdvv5j5iff";
37− };
38− });
39− })
40−
4128 # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
4229 (mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270")
4330
@@ -54,36 +41,6 @@ let
5441 });
5542 })
5643
57− # Pinned due to API changes in iaqualink>=2.0, remove after
58− # https://github.com/home-assistant/core/pull/48137 was merged
59− (self: super: {
60− iaqualink = super.iaqualink.overridePythonAttrs (oldAttrs: rec {
61− version = "0.3.90";
62− src = fetchFromGitHub {
63− owner = "flz";
64− repo = "iaqualink-py";
65− rev = "v${version}";
66− sha256 = "0c8ckbbr1n8gx5k63ymgyfkbz3d0rbdvghg8fqdvbg4nrigrs5v0";
67− };
68− checkInputs = oldAttrs.checkInputs ++ [ python3.pkgs.asynctest ];
69− });
70− })
71−
72− # Pinned due to API changes in influxdb-client>1.21.0
73− (self: super: {
74− influxdb-client = super.influxdb-client.overridePythonAttrs (oldAttrs: rec {
75− version = "1.21.0";
76− src = fetchFromGitHub {
77− owner = "influxdata";
78− repo = "influxdb-client-python";
79− rev = "v${version}";
80− sha256 = "081pwd3aa7kbgxqcl1hfi2ny4iapnxkcp9ypsfslr69d0khvfc4s";
81− };
82− });
83− })
84−
85− (mkOverride "jinja2" "3.0.3" "1mvwr02s86zck5wsmd9wjxxb9iaqr17hdi5xza9vkwv8rmrv46v1")
86−
8744 # Pinned due to API changes in pyruckus>0.12
8845 (self: super: {
8946 pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {
@@ -97,24 +54,11 @@ let
9754 });
9855 })
9956
100− # Pinned due to API changes in eebrightbox>=0.0.5
101− (self: super: {
102− eebrightbox = super.eebrightbox.overridePythonAttrs (oldAttrs: rec {
103− version = "0.0.4";
104− src = fetchFromGitHub {
105− owner = "krygal";
106− repo = "eebrightbox";
107− rev = version;
108− sha256 = "0d8mmpwgrd7gymw5263r1v2wjv6dx6w6pq13d62fkfm4h2hya4a4";
109− };
110− });
111− })
112−
11357 # Pinned due to API changes in 0.1.0
11458 (mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp")
11559
11660 # Requirements for recorder not found: ['sqlalchemy==1.4.27'].
117− (mkOverride "sqlalchemy" "1.4.27" "031jbd0svrvwr3n52iibp9mkwsj9wicnck45yd26da5kmsfkas6p")
61+ #(mkOverride "sqlalchemy" "1.4.27" "031jbd0svrvwr3n52iibp9mkwsj9wicnck45yd26da5kmsfkas6p")
11862
11963 # Pinned due to API changes in 0.4.0
12064 (self: super: {
@@ -177,14 +121,15 @@ let
177121 extraBuildInputs = extraPackages python.pkgs;
178122
179123 # Don't forget to run parse-requirements.py after updating
180− hassVersion = "2021.12.10";
124+ hassVersion = "2022.2.0";
181125
182126in python.pkgs.buildPythonApplication rec {
183127 pname = "homeassistant";
184128 version = assert (componentPackages.version == hassVersion); hassVersion;
129+ format = "pyproject";
185130
186131 # check REQUIRED_PYTHON_VER in homeassistant/const.py
187− disabled = python.pythonOlder "3.8";
132+ disabled = python.pythonOlder "3.9";
188133
189134 # don't try and fail to strip 6600+ python files, it takes minutes!
190135 dontStrip = true;
@@ -194,7 +139,7 @@ in python.pkgs.buildPythonApplication rec {
194139 owner = "home-assistant";
195140 repo = "core";
196141 rev = version;
197− hash = "sha256:0nyddcjy4diq5bakpb76frax44i0jraj2vvpfxrj50h9l5pdwsaf";
142+ hash = "sha256:01gx6i147h7amj41mv46x6j9aah4qd1zjybv5px5y9p5cbhjccms";
198143 };
199144
200145 # leave this in, so users don't have to constantly update their downstream patch handling
@@ -223,9 +168,9 @@ in python.pkgs.buildPythonApplication rec {
223168 in ''
224169 sed -r -i \
225170 ${lib.concatStringsSep "\n" (map (package:
226− ''-e 's@${package}[<>=]+.*@${package}",@g' \''
171+ ''-e 's@${package}[<>=]+.*@${package}@g' \''
227172 ) relaxedConstraints)}
228− setup.py
173+ setup.cfg
229174 substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
230175 '';
231176
@@ -256,8 +201,6 @@ in python.pkgs.buildPythonApplication rec {
256201 yarl
257202 # Not in setup.py, but used in homeassistant/util/package.py
258203 setuptools
259− ] ++ lib.optionals (pythonOlder "3.9") [
260− backports-zoneinfo
261204 ] ++ componentBuildInputs ++ extraBuildInputs;
262205
263206 makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip";
@@ -280,6 +223,9 @@ in python.pkgs.buildPythonApplication rec {
280223 respx
281224 stdlib-list
282225 tqdm
226+ # required by tests/pylint
227+ astroid
228+ pylint
283229 # required by tests/auth/mfa_modules
284230 pyotp
285231 ] ++ lib.concatMap (component: getPackages component python.pkgs) [
pkgs/servers/home-assistant/frontend.nix+2−2
@@ -4,11 +4,11 @@ buildPythonPackage rec {
44 # the frontend version corresponding to a specific home-assistant version can be found here
55 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
66 pname = "home-assistant-frontend";
7− version = "20211229.1";
7+ version = "20220202.0";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "sha256-glVjJ9iOmhAIGD65PHQu9l7Wc/lr5XRya2mi20/UVgs=";
11+ sha256 = "sha256-O5oDDptQmwM02SESSS314YlvCqrOcEHNBSKlYE/qrTc=";
1212 };
1313
1414 # there is nothing to strip in this package
pkgs/servers/home-assistant/tests.nix+2−5
@@ -50,17 +50,14 @@ in lib.listToAttrs (map (component: lib.nameValuePair component (
5050 ++ extraPytestFlagsArray.${component} or [ ]
5151 ++ [ "tests/components/${component}" ];
5252
53− preCheck = old.preCheck + lib.optionalString (component != "network") ''
53+ preCheck = old.preCheck + lib.optionalString (builtins.elem component [ "emulated_hue" "songpal" "system_log" ]) ''
5454 patch -p1 < ${./patches/tests-mock-source-ip.patch}
5555 '';
5656
5757 meta = old.meta // {
5858 broken = lib.elem component [
5959 "airtouch4"
60− "glances"
61− "ridwell"
62− "venstar"
63− "yamaha_musiccast"
60+ "dnsip"
6461 ];
6562 # upstream only tests on Linux, so do we.
6663 platforms = lib.platforms.linux;
pkgs/top-level/python-aliases.nix+1
@@ -52,6 +52,7 @@ mapAliases ({
5252 dns = dnspython; # added 2017-12-10
5353 dogpile_cache = dogpile-cache; # added 2021-10-28
5454 dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
55+ eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
5556 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
5657 gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
5758 glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28
pkgs/top-level/python-packages.nix−2
@@ -2512,8 +2512,6 @@ in {
25122512
25132513 edward = callPackage ../development/python-modules/edward { };
25142514
2515− eebrightbox = callPackage ../development/python-modules/eebrightbox { };
2516−
25172515 effect = callPackage ../development/python-modules/effect { };
25182516
25192517 eggdeps = callPackage ../development/python-modules/eggdeps { };