Merge pull request #157900 from mweinelt/home-assistant

This commit is contained in:
Martin Weinelt 2022-02-03 13:16:36 +01:00 committed by GitHub
commit 4a6f352305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 178 additions and 283 deletions

View file

@ -329,7 +329,7 @@ in {
"zwave_js" "zwave_js"
]; ];
in { in {
ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'"; ExecStart = "${package}/bin/hass --config '${cfg.configDir}'";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = "hass"; User = "hass";
Group = "hass"; Group = "hass";

View file

@ -3,6 +3,7 @@
, dnspython , dnspython
, fetchFromGitHub , fetchFromGitHub
, ifaddr , ifaddr
, netifaces
, pyroute2 , pyroute2
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
@ -11,18 +12,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiodiscover"; pname = "aiodiscover";
version = "1.4.5"; version = "1.4.7";
format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bdraco"; owner = "bdraco";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-QfeAEFB5WikuriBTcfFIgnJw5H4vEcGIVX47fyDb1Dk="; sha256 = "sha256-NtiShZpPFl+elYNPLaKAg6uV8pDJv0pyR+NTUiFoMm0=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
dnspython dnspython
netifaces
pyroute2 pyroute2
ifaddr ifaddr
]; ];
@ -43,7 +47,9 @@ buildPythonPackage rec {
"test_async_discover_hosts" "test_async_discover_hosts"
]; ];
pythonImportsCheck = ["aiodiscover"]; pythonImportsCheck = [
"aiodiscover"
];
meta = with lib; { meta = with lib; {
description = "Python module to discover hosts via ARP and PTR lookup"; description = "Python module to discover hosts via ARP and PTR lookup";

View file

@ -7,11 +7,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiohue"; pname = "aiohue";
version = "3.0.11"; version = "4.0.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-McC5DX3Cti9eGpPniywNY2DvbAqHSFwhek85TJN/zn0="; sha256 = "sha256-wPqEubd+vUpdj7tM0CTPkW5kV4qlF19T+djlGrtA5h8=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiohwenergy"; pname = "aiohwenergy";
version = "0.7.0"; version = "0.8.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "DCSBL"; owner = "DCSBL";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0pgk9ky4kfb1kp0mpyxdinwql1q85a3bl5w34pr88wqdqdw467ms"; sha256 = "sha256-WfkwIxyDzLNzhWNWST/V3iN9Bhu2oXDwGiA5UXCq5ho=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiolookin"; pname = "aiolookin";
version = "0.0.4"; version = "0.1.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "ANMalko"; owner = "ANMalko";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Kqys76c/9Mw3ETgF0N4rA9mz5DELwTMjAK38PPN8Ahs="; sha256 = "sha256-l3A1fOydAUQ4arR7Zl/PDYksp53C/56fVVcz35q1hjY=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -14,14 +14,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "async-upnp-client"; pname = "async-upnp-client";
version = "0.23.1"; version = "0.23.4";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "StevenLooman"; owner = "StevenLooman";
repo = "async_upnp_client"; repo = "async_upnp_client";
rev = version; rev = version;
sha256 = "sha256-m8oTqGbsJ99ImtnSlL4LX1qR0bUhGtVPPWmjsZfV6sE="; sha256 = "sha256-FrH5PwNpXZpNk7mUnMBGA9MQUPBqBEOoMd9T5ond2WA=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -7,7 +7,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "awesomeversion"; pname = "awesomeversion";
version = "21.11.0"; version = "22.1.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "ludeeus"; owner = "ludeeus";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-qxN5AdLlzadG0/raeAyJ/37PLgYLndl1JQSVkgdLv/4="; sha256 = "sha256-eoY920c8mgunvZd0M/vR7+bMCPFqqCm3F/fq0vo6K/0=";
}; };
postPatch = '' postPatch = ''

View file

@ -1,58 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pbr
, calmjs-parse
, certifi
, chardet
, idna
, ply
, requests
, urllib3
, httpretty
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "eebrightbox";
version = "0.0.6";
src = fetchFromGitHub {
owner = "krygal";
repo = "eebrightbox";
rev = version;
sha256 = "1kms240g01871qbvyc5rzf86yxsrlnfvp323jh4k35fpf45z44rr";
};
postPatch = ''
substituteInPlace requirements.txt --replace "==" ">="
'';
nativeBuildInputs = [
pbr
];
PBR_VERSION = version;
propagatedBuildInputs = [
calmjs-parse
certifi
chardet
idna
ply
requests
urllib3
];
checkInputs = [
httpretty
pytestCheckHook
];
meta = with lib; {
description = "Connector for EE BrightBox routers";
homepage = "https://github.com/krygal/eebrightbox";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -6,13 +6,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "emoji"; pname = "emoji";
version = "1.6.2"; version = "1.6.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "carpedm20"; owner = "carpedm20";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1g927w9l3j5mycg6pqa4vjk2lyy35sppfp8pbzb6mvca500001rk"; sha256 = "sha256-0QOtsHGhqbjaEDpSbUXdE8+u6xzWbrTexx+BAeYwKa8=";
}; };
checkInputs = [ checkInputs = [

View file

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fritzconnection"; pname = "fritzconnection";
version = "1.7.2"; version = "1.9.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "kbr"; owner = "kbr";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-TT0mc3ID+R5Dhm0xSMpyg68wZR70xJfRfgPkHkvLstA="; sha256 = "sha256-wapZ4lCG0tfE+LbFVeIxVlbMJN/sSwIeYK5GLCqoWLs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -2,21 +2,27 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
, poetry-core
, aiohttp , aiohttp
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "garages-amsterdam"; pname = "garages-amsterdam";
version = "2.1.1"; version = "3.2.1";
format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "klaasnicolaas"; owner = "klaasnicolaas";
repo = "garages_amsterdam"; repo = "garages_amsterdam";
rev = version; rev = "v${version}";
sha256 = "1m0bc3bzb83apprk412s7k5r2g6p5br2hrak2a976lh9ifk1d8hj"; sha256 = "16f2742r9p3mrg2nz8lnkgsxabbjga2qnp9vzq59026q6mmfwkm9";
}; };
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
]; ];

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "glances-api"; pname = "glances-api";
version = "0.3.3"; version = "0.3.4";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "home-assistant-ecosystem"; owner = "home-assistant-ecosystem";
repo = "python-glances-api"; repo = "python-glances-api";
rev = version; rev = version;
sha256 = "sha256-F3jmYBZNzI4hRmH1J+S5RwxjouZNcUJOnD3QpX1J39s="; sha256 = "sha256-mV67mppzx3lka04bxQ5CdufknZTTqWqGJzqPaHb4C2o=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -12,23 +12,17 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "glean-sdk"; pname = "glean-sdk";
version = "42.2.0"; version = "43.0.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-X2p6KQnEB6ZHdCHGFVEoEMiI+0R2vfGqel+jFKTcx74="; sha256 = "sha256-9LLE7cUJhJ+0/rFtVkSdiXUohrXW0JFy3XcYMAAivfw=";
}; };
patches = [
# Fix the environment for spawned process
# https://github.com/mozilla/glean/pull/1542
./fix-spawned-process-environment.patch
];
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
name = "${pname}-${version}"; name = "${pname}-${version}";
sha256 = "sha256-/+rKGPYTLovgjTGL2F/pWzlUy1tY207yuJz3Xdhm1hg="; sha256 = "sha256:1qi7zn2278jpry466w3xj1wpyy5f82bffi55i6nva591i3r1z4am";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,20 +0,0 @@
diff --git a/glean-core/python/glean/_process_dispatcher.py b/glean-core/python/glean/_process_dispatcher.py
index 33a8b12796..a39b54a917 100644
--- a/glean-core/python/glean/_process_dispatcher.py
+++ b/glean-core/python/glean/_process_dispatcher.py
@@ -120,8 +120,14 @@ def dispatch(cls, func, args) -> Union[_SyncWorkWrapper, subprocess.Popen]:
Path(".coveragerc").absolute()
)
+ # Explicitly pass the contents of `sys.path` as `PYTHONPATH` to the
+ # subprocess so that there aren't any module search path
+ # differences.
+ python_path = ":".join(sys.path)[1:]
+
p = subprocess.Popen(
- [sys.executable, _process_dispatcher_helper.__file__, payload]
+ [sys.executable, _process_dispatcher_helper.__file__, payload],
+ env={"PYTHONPATH": python_path},
)
cls._last_process = p

View file

@ -8,6 +8,7 @@
, google-auth-oauthlib , google-auth-oauthlib
, google-cloud-pubsub , google-cloud-pubsub
, pytest-aiohttp , pytest-aiohttp
, pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, requests_oauthlib , requests_oauthlib
@ -15,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-nest-sdm"; pname = "google-nest-sdm";
version = "1.5.1"; version = "1.6.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -24,7 +25,7 @@ buildPythonPackage rec {
owner = "allenporter"; owner = "allenporter";
repo = "python-google-nest-sdm"; repo = "python-google-nest-sdm";
rev = version; rev = version;
sha256 = "sha256-8Y3ixkDl/AmXQMOY+29og5njMh9M2qjwWBGCsiqX5PU="; sha256 = "sha256-qgowVCsSNa+Gt+fWnR1eMfkbtpZD7DS4ALZYz6KZZTM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -39,6 +40,7 @@ buildPythonPackage rec {
asynctest asynctest
coreutils coreutils
pytest-aiohttp pytest-aiohttp
pytest-asyncio
pytestCheckHook pytestCheckHook
]; ];

View file

@ -15,13 +15,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hass-nabucasa"; pname = "hass-nabucasa";
version = "0.51.0"; version = "0.52.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nabucasa"; owner = "nabucasa";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-qN7AXs4hJpuP+GaxjOPR2CqKMYyDJxTrCuE5HreZnhU="; sha256 = "sha256-mTbNuER26BPQIjcmlpkdFNeBcNF1vTldaNpoEla0XbM=";
}; };
postPatch = '' postPatch = ''

View file

@ -1,7 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, python-dateutil , python-dateutil
, fetchFromGitHub , fetchPypi
, fetchpatch , fetchpatch
, mock , mock
, msgpack , msgpack
@ -16,13 +16,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "influxdb"; pname = "influxdb";
version = "5.3.0"; version = "5.3.1";
src = fetchFromGitHub { src = fetchPypi {
owner = "influxdata"; inherit pname version;
repo = "influxdb-python"; sha256 = "0ymjv322mv6y424fmpd70f87152w55mbwwj6i7p3sjzf0ixmxy26";
rev = "v${version}";
sha256 = "1jfkf53jcf8lcq98qc0bw5d1d0yp3558mh8l2dqc9jlsm0smigjs";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -41,14 +39,6 @@ buildPythonPackage rec {
pandas pandas
]; ];
patches = [
(fetchpatch {
# Relaxes msgpack pinning
url = "https://github.com/influxdata/influxdb-python/commit/cc41e290f690c4eb67f75c98fa9f027bdb6eb16b.patch";
sha256 = "1fb9qrq1kp24pixjwvzhdy67z3h0wnj92aj0jw0a25fd0rdxdvg4";
})
];
disabledTests = [ disabledTests = [
# Tests cause FutureWarning due to use of 'record' instead of 'records' in pandas. # Tests cause FutureWarning due to use of 'record' instead of 'records' in pandas.
# https://github.com/influxdata/influxdb-python/pull/845 # https://github.com/influxdata/influxdb-python/pull/845

View file

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mill-local"; pname = "mill-local";
version = "0.1.0"; version = "0.1.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "Danielhiversen"; owner = "Danielhiversen";
repo = "pyMillLocal"; repo = "pyMillLocal";
rev = version; rev = version;
sha256 = "0q0frwj9yxdmqi5axl7gxirfflgn8xh1932c6lhp9my2v1d0gdrk"; sha256 = "sha256-OKaR0hpNVBlaZrEmEmHxqRG1i03XP2Z4c7c35YIqe+I=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -14,13 +14,14 @@
, pytest-timeout , pytest-timeout
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, requests
, srptools , srptools
, zeroconf , zeroconf
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyatv"; pname = "pyatv";
version = "0.9.8"; version = "0.10.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -29,9 +30,18 @@ buildPythonPackage rec {
owner = "postlund"; owner = "postlund";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1ns1ys3mwi1s1b8zxcr7xgr1rfnlxwdn2fp680yi09x4d9nmnvqp"; sha256 = "sha256-aYNBFtsnSg3PORq72U0PXPFCTVj2+8D2TS3nMau55t4=";
}; };
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
# Remove all version pinning
substituteInPlace base_versions.txt \
--replace "protobuf==3.19.1,<4" "protobuf>=3.19.0,<4"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
bitarray bitarray
@ -40,6 +50,7 @@ buildPythonPackage rec {
miniaudio miniaudio
netifaces netifaces
protobuf protobuf
requests
srptools srptools
zeroconf zeroconf
]; ];
@ -52,13 +63,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
# Remove all version pinning
sed -i -e "s/==[0-9.]*//" requirements/requirements.txt
'';
disabledTestPaths = [ disabledTestPaths = [
# Test doesn't work in the sandbox # Test doesn't work in the sandbox
"tests/protocols/companion/test_companion_auth.py" "tests/protocols/companion/test_companion_auth.py"

View file

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pydaikin"; pname = "pydaikin";
version = "2.6.0"; version = "2.7.0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromBitbucket { src = fetchFromBitbucket {
owner = "mustang51"; owner = "mustang51";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Fk6zMWgvhKp+7BMDGw89Akb4fgK6+xi+AyvEY3pdTQQ="; sha256 = "sha256-k6NAQvt79Qo7sAXQwOjq4Coz2iTZAUImasc/oMSpmmg=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -28,7 +28,7 @@ buildPythonPackage rec {
urllib3 urllib3
]; ];
# while they have tests, they do not run them in their CI and they fail as of 2.6.0 # while they have tests, they do not run them in their CI and they fail as of 2.7.0
# AttributeError: 'DaikinBRP069' object has no attribute 'last_hour_cool_energy_consumption' # AttributeError: 'DaikinBRP069' object has no attribute 'last_hour_cool_energy_consumption'
doCheck = false; doCheck = false;

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyezviz"; pname = "pyezviz";
version = "0.2.0.5"; version = "0.2.0.6";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "baqs"; owner = "baqs";
repo = "pyEzviz"; repo = "pyEzviz";
rev = version; rev = version;
sha256 = "sha256-a+u8zS69qLHABPSvWEzhM/gdzlLh2RJLTDJjaX4DtpI="; sha256 = "sha256-3GRyM6OK0EpQ7wepTzqg+XANx9D0OVBTnw98i3b1V/8=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -17,14 +17,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyinsteon"; pname = "pyinsteon";
version = "1.0.13"; version = "1.0.14";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-KVwAF+yoU26ktNRKWQ+nrhS1i90xQxAhRAr4VJ+xtl0="; sha256 = "sha256-1ByCd7PymRLm67msNu6TXSm37C9KnmEl0v/+flfqz1A=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pylitterbot"; pname = "pylitterbot";
version = "2021.11.0"; version = "2021.12.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "natekspencer"; owner = "natekspencer";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-HdIxi6RfdXBYEYFEcv/f9wAqKZg/MsEZd6mDYwE45to="; sha256 = "sha256-hz+MQTxobf7IkOJTpwbDDd3i13FFtxFn2kmCwPV3pu4=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -1,22 +1,21 @@
{ lib { lib
, aiohttp , aiohttp
, buildPythonPackage , buildPythonPackage
, fetchFromGitLab , fetchPypi
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pynina"; pname = "pynina";
version = "unstable-2021-11-11"; version = "0.1.4";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitLab { src = fetchPypi {
owner = "DeerMaximum"; pname = "PyNINA";
repo = pname; inherit version;
rev = "0ac42b28d48af7bcd9c83f5d425b5b23c4c19f02"; sha256 = "1q382b70ydzzbqb9sa5y5w7039rp6q0wyffarrsdw916kbc4zyqd";
sha256 = "FSrFCs/4tfYcSPz9cgR+LFsRbWIHE1X+ZUl8BWSEaWQ=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -7,16 +7,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pynuki"; pname = "pynuki";
version = "1.4.1"; version = "1.5.2";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pschmitt"; owner = "pschmitt";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1nymlrf0j430851plp355697p55asfxjmavdh2zr96b16d41dnn4"; sha256 = "sha256-Uqw1Xa0pBQmQsFEBv/l1gtsPy+owYcTZITOYUmMvT5Y=";
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'requests = ">=2.27,<3"' 'requests = "*"'
'';
nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ requests ]; propagatedBuildInputs = [ requests ];

View file

@ -10,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pypck"; pname = "pypck";
version = "0.7.11"; version = "0.7.13";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alengwenus"; owner = "alengwenus";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1jj0y487qcxrprx4x2rs6r7rqsf5m9khk0xhigbvnbyvh8rsd2jr"; sha256 = "sha256-Gbz+3Hq4yStlTI7UxB4NBZigUzZjSJFFcwdzWtbGnio=";
}; };
checkInputs = [ checkInputs = [

View file

@ -3,20 +3,26 @@
, bitstring , bitstring
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, poetry-core
, pyserial-asyncio , pyserial-asyncio
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pysml"; pname = "pysml";
version = "0.0.5"; version = "0.0.7";
format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mtdcr"; owner = "mtdcr";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "05zgrk49b2y5jflxnjww2kqg1flynl3j4ifm0jr28nk0li5wg2bs"; sha256 = "sha256-h8rQOKZozioZ7HmPETC5wBJyz7rMH1Q2wL6lF8G3zQU=";
}; };
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [ propagatedBuildInputs = [
async-timeout async-timeout
bitstring bitstring

View file

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "renault-api"; pname = "renault-api";
version = "0.1.6"; version = "0.1.7";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "hacf-fr"; owner = "hacf-fr";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0v9a8p0ynikqzg7vvinvik5gjvsc5nrfqkq528mhcw7y4hmj8ndm"; sha256 = "sha256-D0fsJ8mwBPcwuGuRkzgDTrwvnbe5yhilxTx49badKEQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rflink"; pname = "rflink";
version = "0.0.58"; version = "0.0.62";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aequitas"; owner = "aequitas";
repo = "python-rflink"; repo = "python-rflink";
rev = version; rev = version;
sha256 = "1zab55lsw419gg0jfrl69ap6128vbi3wdmg5z7qin65ijpjdhasc"; sha256 = "sha256-dEzkYE8xtUzvdsnPaSiQR8960WLOEcr/QhwDiQlobcs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -34,15 +34,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
patches = [
# Remove loop, https://github.com/aequitas/python-rflink/pull/61
(fetchpatch {
name = "remove-loop.patch";
url = "https://github.com/aequitas/python-rflink/commit/777e19b5bde3398df5b8f142896c34a01ae18d52.patch";
sha256 = "sJmihxY3fNSfZVFhkvQ/+9gysQup/1jklKDMyDDLOs8=";
})
];
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "version=version_from_git()" "version='${version}'" --replace "version=version_from_git()" "version='${version}'"

View file

@ -40,14 +40,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sentry-sdk"; pname = "sentry-sdk";
version = "1.5.2"; version = "1.5.4";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "getsentry"; owner = "getsentry";
repo = "sentry-python"; repo = "sentry-python";
rev = version; rev = version;
sha256 = "086kzvrpy1c7kiwjrdyr4i4a8dp4vncsc8dk6hp8c7bwswfffa3d"; sha256 = "sha256-MZ1J2Stq+pRoeJ05hv8cSpxtaeRGaJEWAtidbr8YP88=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -2,6 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, graphviz , graphviz
, appdirs
, ifaddr , ifaddr
, pythonOlder , pythonOlder
, mock , mock
@ -14,17 +15,18 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "soco"; pname = "soco";
version = "0.25.3"; version = "0.26.0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SoCo"; owner = "SoCo";
repo = "SoCo"; repo = "SoCo";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-CoAmpcXy4oHMk0X4iJ/XMbUnI2m3ZWl8QzobH677FrI="; sha256 = "sha256-rOJiO8BBbkp3dzy9hk3LV0hqQDLRgrA1kqnhvrseU0o=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
appdirs
ifaddr ifaddr
requests requests
xmltodict xmltodict

View file

@ -15,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "wled"; pname = "wled";
version = "0.11.0"; version = "0.13.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "frenck"; owner = "frenck";
repo = "python-wled"; repo = "python-wled";
rev = "v${version}"; rev = "v${version}";
sha256 = "02mc9dbz7lvk7d8aaimggm3vg99bc42njsv8sfchvc9amvdi94qy"; sha256 = "sha256-n+TIzlnyPeSywTQr7wlGNezsbQ2+S/WYt1H95+Id2Rw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "xknx"; pname = "xknx";
version = "0.18.15"; version = "0.19.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "XKNX"; owner = "XKNX";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-k/fLUuBjXScTvlvoBLZIVPEqNGIPI04FBeTBadp5uiY="; sha256 = "sha256-CmiibJc8cy0NuGVS9CEsML2DgVRIsNmWsqp9nmzInAA=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -7,13 +7,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "yalesmartalarmclient"; pname = "yalesmartalarmclient";
version = "0.3.5"; version = "0.3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "domwillcode"; owner = "domwillcode";
repo = "yale-smart-alarm-client"; repo = "yale-smart-alarm-client";
rev = "v${version}"; rev = "v${version}";
sha256 = "11i7vh61a5xfv32zm7rkigl010wzd6snag6sf7w38256j95nnb05"; sha256 = "sha256-LcHXw4rZhQ942EhiGrRTf3MpT7G5OFSX8QbpxVjvTTo=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "yalexs"; pname = "yalexs";
version = "1.1.19"; version = "1.1.20";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "bdraco"; owner = "bdraco";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-i6UFsSY2DQ4jB316fy5cZ+2C93TTmvyB4Caxj3syPdo="; sha256 = "sha256-0wcvlgKlWhj9jZ53c+uEk9F28+m7BwsmlwTRlBMPoho=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zeroconf"; pname = "zeroconf";
version = "0.38.1"; version = "0.38.3";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "jstasiak"; owner = "jstasiak";
repo = "python-zeroconf"; repo = "python-zeroconf";
rev = version; rev = version;
sha256 = "sha256-8bJEH+m+83rkKdN5GjD4THs1CUy/wstoBFiXR7kHKtw="; sha256 = "sha256-pLTqnIbe7rTZrQFe//0/h5Tyx0GzJW+q9mUuDNifo/0=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zwave-js-server-python"; pname = "zwave-js-server-python";
version = "0.33.0"; version = "0.34.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-0hAksizQSIOg+hbSq/OZqFqlBBdpa0bSf+puWfD9TSg="; sha256 = "sha256-hqq/CYlM9ZahDiH3iFLFzfE22CB19WQnFIDt+gCrEXU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -2,14 +2,14 @@
# Do not edit! # Do not edit!
{ {
version = "2021.12.10"; version = "2022.2.0";
components = { components = {
"abode" = ps: with ps; [ abodepy ]; "abode" = ps: with ps; [ abodepy ];
"accuweather" = ps: with ps; [ accuweather ]; "accuweather" = ps: with ps; [ accuweather ];
"acer_projector" = ps: with ps; [ pyserial ]; "acer_projector" = ps: with ps; [ pyserial ];
"acmeda" = ps: with ps; [ aiopulse ]; "acmeda" = ps: with ps; [ aiopulse ];
"actiontec" = ps: with ps; [ ]; "actiontec" = ps: with ps; [ ];
"adax" = ps: with ps; [ adax ]; "adax" = ps: with ps; [ adax ]; # missing inputs: Adax-local
"adguard" = ps: with ps; [ adguardhome ]; "adguard" = ps: with ps; [ adguardhome ];
"ads" = ps: with ps; [ pyads ]; "ads" = ps: with ps; [ pyads ];
"advantage_air" = ps: with ps; [ advantage-air ]; "advantage_air" = ps: with ps; [ advantage-air ];
@ -45,18 +45,18 @@
"apcupsd" = ps: with ps; [ apcaccess ]; "apcupsd" = ps: with ps; [ apcaccess ];
"api" = ps: with ps; [ aiohttp-cors ]; "api" = ps: with ps; [ aiohttp-cors ];
"apns" = ps: with ps; [ ]; # missing inputs: apns2 "apns" = ps: with ps; [ ]; # missing inputs: apns2
"apple_tv" = ps: with ps; [ pyatv ]; "apple_tv" = ps: with ps; [ aiohttp-cors ifaddr pyatv zeroconf ];
"apprise" = ps: with ps; [ apprise ]; "apprise" = ps: with ps; [ apprise ];
"aprs" = ps: with ps; [ aprslib geopy ]; "aprs" = ps: with ps; [ aprslib geopy ];
"aqualogic" = ps: with ps; [ aqualogic ]; "aqualogic" = ps: with ps; [ aqualogic ];
"aquostv" = ps: with ps; [ ]; # missing inputs: sharp_aquos_rc "aquostv" = ps: with ps; [ ]; # missing inputs: sharp_aquos_rc
"arcam_fmj" = ps: with ps; [ arcam-fmj ]; "arcam_fmj" = ps: with ps; [ arcam-fmj ];
"arduino" = ps: with ps; [ ]; # missing inputs: PyMata
"arest" = ps: with ps; [ ]; "arest" = ps: with ps; [ ];
"arlo" = ps: with ps; [ ha-ffmpeg pyarlo ]; "arlo" = ps: with ps; [ ha-ffmpeg pyarlo ];
"arris_tg2492lg" = ps: with ps; [ ]; # missing inputs: arris-tg2492lg "arris_tg2492lg" = ps: with ps; [ ]; # missing inputs: arris-tg2492lg
"aruba" = ps: with ps; [ pexpect ]; "aruba" = ps: with ps; [ pexpect ];
"arwn" = ps: with ps; [ aiohttp-cors paho-mqtt ]; "arwn" = ps: with ps; [ aiohttp-cors paho-mqtt ];
"aseko_pool_live" = ps: with ps; [ ]; # missing inputs: aioaseko
"asterisk_cdr" = ps: with ps; [ ]; # missing inputs: asterisk_mbox "asterisk_cdr" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
"asterisk_mbox" = ps: with ps; [ ]; # missing inputs: asterisk_mbox "asterisk_mbox" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
"asuswrt" = ps: with ps; [ aioasuswrt ]; "asuswrt" = ps: with ps; [ aioasuswrt ];
@ -66,6 +66,7 @@
"august" = ps: with ps; [ yalexs ]; "august" = ps: with ps; [ yalexs ];
"aurora" = ps: with ps; [ auroranoaa ]; "aurora" = ps: with ps; [ auroranoaa ];
"aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy "aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy
"aussie_broadband" = ps: with ps; [ ]; # missing inputs: pyaussiebb
"auth" = ps: with ps; [ aiohttp-cors ]; "auth" = ps: with ps; [ aiohttp-cors ];
"automation" = ps: with ps; [ aiohttp-cors ]; "automation" = ps: with ps; [ aiohttp-cors ];
"avea" = ps: with ps; [ avea ]; "avea" = ps: with ps; [ avea ];
@ -181,6 +182,7 @@
"dexcom" = ps: with ps; [ pydexcom ]; "dexcom" = ps: with ps; [ pydexcom ];
"dhcp" = ps: with ps; [ aiodiscover scapy ]; "dhcp" = ps: with ps; [ aiodiscover scapy ];
"dht" = ps: with ps; [ ]; # missing inputs: RPi.GPIO adafruit-circuitpython-dht "dht" = ps: with ps; [ ]; # missing inputs: RPi.GPIO adafruit-circuitpython-dht
"diagnostics" = ps: with ps; [ aiohttp-cors ];
"dialogflow" = ps: with ps; [ aiohttp-cors ]; "dialogflow" = ps: with ps; [ aiohttp-cors ];
"digital_ocean" = ps: with ps; [ digital-ocean ]; "digital_ocean" = ps: with ps; [ digital-ocean ];
"digitalloggers" = ps: with ps; [ ]; # missing inputs: dlipower "digitalloggers" = ps: with ps; [ ]; # missing inputs: dlipower
@ -223,6 +225,7 @@
"elgato" = ps: with ps; [ elgato ]; "elgato" = ps: with ps; [ elgato ];
"eliqonline" = ps: with ps; [ eliqonline ]; "eliqonline" = ps: with ps; [ eliqonline ];
"elkm1" = ps: with ps; [ elkm1-lib ]; "elkm1" = ps: with ps; [ elkm1-lib ];
"elmax" = ps: with ps; [ elmax-api ];
"elv" = ps: with ps; [ pypca ]; "elv" = ps: with ps; [ pypca ];
"emby" = ps: with ps; [ pyemby ]; "emby" = ps: with ps; [ pyemby ];
"emoncms" = ps: with ps; [ ]; "emoncms" = ps: with ps; [ ];
@ -282,7 +285,7 @@
"flume" = ps: with ps; [ pyflume ]; "flume" = ps: with ps; [ pyflume ];
"flunearyou" = ps: with ps; [ pyflunearyou ]; "flunearyou" = ps: with ps; [ pyflunearyou ];
"flux" = ps: with ps; [ ]; "flux" = ps: with ps; [ ];
"flux_led" = ps: with ps; [ flux-led ]; "flux_led" = ps: with ps; [ aiohttp-cors flux-led ifaddr ];
"folder" = ps: with ps; [ ]; "folder" = ps: with ps; [ ];
"folder_watcher" = ps: with ps; [ watchdog ]; "folder_watcher" = ps: with ps; [ watchdog ];
"foobot" = ps: with ps; [ foobot-async ]; "foobot" = ps: with ps; [ foobot-async ];
@ -325,6 +328,7 @@
"goalfeed" = ps: with ps; [ ]; # missing inputs: pysher "goalfeed" = ps: with ps; [ ]; # missing inputs: pysher
"goalzero" = ps: with ps; [ goalzero ]; "goalzero" = ps: with ps; [ goalzero ];
"gogogate2" = ps: with ps; [ ismartgate ]; "gogogate2" = ps: with ps; [ ismartgate ];
"goodwe" = ps: with ps; [ goodwe ];
"google" = ps: with ps; [ google-api-python-client httplib2 oauth2client ]; "google" = ps: with ps; [ google-api-python-client httplib2 oauth2client ];
"google_assistant" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; "google_assistant" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
"google_cloud" = ps: with ps; [ google-cloud-texttospeech ]; "google_cloud" = ps: with ps; [ google-cloud-texttospeech ];
@ -371,6 +375,7 @@
"homekit_controller" = ps: with ps; [ aiohomekit aiohttp-cors ifaddr zeroconf ]; "homekit_controller" = ps: with ps; [ aiohomekit aiohttp-cors ifaddr zeroconf ];
"homematic" = ps: with ps; [ pyhomematic ]; "homematic" = ps: with ps; [ pyhomematic ];
"homematicip_cloud" = ps: with ps; [ homematicip ]; "homematicip_cloud" = ps: with ps; [ homematicip ];
"homewizard" = ps: with ps; [ aiohwenergy ];
"homeworks" = ps: with ps; [ pyhomeworks ]; "homeworks" = ps: with ps; [ pyhomeworks ];
"honeywell" = ps: with ps; [ somecomfort ]; "honeywell" = ps: with ps; [ somecomfort ];
"horizon" = ps: with ps; [ ]; # missing inputs: horimote "horizon" = ps: with ps; [ ]; # missing inputs: horimote
@ -402,12 +407,14 @@
"incomfort" = ps: with ps; [ incomfort-client ]; "incomfort" = ps: with ps; [ incomfort-client ];
"influxdb" = ps: with ps; [ influxdb-client influxdb ]; "influxdb" = ps: with ps; [ influxdb-client influxdb ];
"input_boolean" = ps: with ps; [ ]; "input_boolean" = ps: with ps; [ ];
"input_button" = ps: with ps; [ ];
"input_datetime" = ps: with ps; [ ]; "input_datetime" = ps: with ps; [ ];
"input_number" = ps: with ps; [ ]; "input_number" = ps: with ps; [ ];
"input_select" = ps: with ps; [ ]; "input_select" = ps: with ps; [ ];
"input_text" = ps: with ps; [ ]; "input_text" = ps: with ps; [ ];
"insteon" = ps: with ps; [ pyinsteon ]; "insteon" = ps: with ps; [ pyinsteon ];
"integration" = ps: with ps; [ ]; "integration" = ps: with ps; [ ];
"intellifire" = ps: with ps; [ ]; # missing inputs: intellifire4py
"intent" = ps: with ps; [ aiohttp-cors ]; "intent" = ps: with ps; [ aiohttp-cors ];
"intent_script" = ps: with ps; [ ]; "intent_script" = ps: with ps; [ ];
"intesishome" = ps: with ps; [ pyintesishome ]; "intesishome" = ps: with ps; [ pyintesishome ];
@ -482,7 +489,7 @@
"luftdaten" = ps: with ps; [ luftdaten ]; "luftdaten" = ps: with ps; [ luftdaten ];
"lupusec" = ps: with ps; [ lupupy ]; "lupusec" = ps: with ps; [ lupupy ];
"lutron" = ps: with ps; [ pylutron ]; "lutron" = ps: with ps; [ pylutron ];
"lutron_caseta" = ps: with ps; [ aiolip pylutron-caseta ]; "lutron_caseta" = ps: with ps; [ pylutron-caseta ];
"lw12wifi" = ps: with ps; [ ]; # missing inputs: lw12 "lw12wifi" = ps: with ps; [ ]; # missing inputs: lw12
"lyric" = ps: with ps; [ aiohttp-cors aiolyric ]; "lyric" = ps: with ps; [ aiohttp-cors aiolyric ];
"magicseaweed" = ps: with ps; [ ]; # missing inputs: magicseaweed "magicseaweed" = ps: with ps; [ ]; # missing inputs: magicseaweed
@ -574,6 +581,7 @@
"nightscout" = ps: with ps; [ py-nightscout ]; "nightscout" = ps: with ps; [ py-nightscout ];
"niko_home_control" = ps: with ps; [ niko-home-control ]; "niko_home_control" = ps: with ps; [ niko-home-control ];
"nilu" = ps: with ps; [ niluclient ]; "nilu" = ps: with ps; [ niluclient ];
"nina" = ps: with ps; [ pynina ];
"nissan_leaf" = ps: with ps; [ pycarwings2 ]; "nissan_leaf" = ps: with ps; [ pycarwings2 ];
"nmap_tracker" = ps: with ps; [ aiohttp-cors getmac ifaddr netmap ]; # missing inputs: mac-vendor-lookup "nmap_tracker" = ps: with ps; [ aiohttp-cors getmac ifaddr netmap ]; # missing inputs: mac-vendor-lookup
"nmbs" = ps: with ps; [ ]; # missing inputs: pyrail "nmbs" = ps: with ps; [ ]; # missing inputs: pyrail
@ -601,10 +609,12 @@
"ombi" = ps: with ps; [ pyombi ]; "ombi" = ps: with ps; [ pyombi ];
"omnilogic" = ps: with ps; [ omnilogic ]; "omnilogic" = ps: with ps; [ omnilogic ];
"onboarding" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ]; "onboarding" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
"oncue" = ps: with ps; [ ]; # missing inputs: aiooncue
"ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ]; "ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ];
"onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet "onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet
"onkyo" = ps: with ps; [ onkyo-eiscp ]; "onkyo" = ps: with ps; [ onkyo-eiscp ];
"onvif" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: WSDiscovery onvif-zeep-async "onvif" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: WSDiscovery onvif-zeep-async
"open_meteo" = ps: with ps; [ open-meteo ];
"openalpr_cloud" = ps: with ps; [ ]; "openalpr_cloud" = ps: with ps; [ ];
"openalpr_local" = ps: with ps; [ ]; "openalpr_local" = ps: with ps; [ ];
"opencv" = ps: with ps; [ numpy ]; # missing inputs: opencv-python-headless "opencv" = ps: with ps; [ numpy ]; # missing inputs: opencv-python-headless
@ -626,6 +636,7 @@
"orvibo" = ps: with ps; [ orvibo ]; "orvibo" = ps: with ps; [ orvibo ];
"osramlightify" = ps: with ps; [ ]; # missing inputs: lightify "osramlightify" = ps: with ps; [ ]; # missing inputs: lightify
"otp" = ps: with ps; [ pyotp ]; "otp" = ps: with ps; [ pyotp ];
"overkiz" = ps: with ps; [ ]; # missing inputs: pyoverkiz
"ovo_energy" = ps: with ps; [ ovoenergy ]; "ovo_energy" = ps: with ps; [ ovoenergy ];
"owntracks" = ps: with ps; [ pynacl pyturbojpeg aiohttp-cors hass-nabucasa paho-mqtt ]; "owntracks" = ps: with ps; [ pynacl pyturbojpeg aiohttp-cors hass-nabucasa paho-mqtt ];
"ozw" = ps: with ps; [ aiohttp-cors paho-mqtt python-openzwave-mqtt ]; "ozw" = ps: with ps; [ aiohttp-cors paho-mqtt python-openzwave-mqtt ];
@ -673,7 +684,7 @@
"pushbullet" = ps: with ps; [ pushbullet ]; "pushbullet" = ps: with ps; [ pushbullet ];
"pushover" = ps: with ps; [ pushover-complete ]; "pushover" = ps: with ps; [ pushover-complete ];
"pushsafer" = ps: with ps; [ ]; "pushsafer" = ps: with ps; [ ];
"pvoutput" = ps: with ps; [ jsonpath xmltodict ]; "pvoutput" = ps: with ps; [ pvo ];
"pvpc_hourly_pricing" = ps: with ps; [ aiopvpc ]; "pvpc_hourly_pricing" = ps: with ps; [ aiopvpc ];
"pyload" = ps: with ps; [ ]; "pyload" = ps: with ps; [ ];
"python_script" = ps: with ps; [ restrictedpython ]; "python_script" = ps: with ps; [ restrictedpython ];
@ -729,6 +740,7 @@
"rpi_rf" = ps: with ps; [ ]; # missing inputs: RPi.GPIO rpi-rf "rpi_rf" = ps: with ps; [ ]; # missing inputs: RPi.GPIO rpi-rf
"rss_feed_template" = ps: with ps; [ aiohttp-cors ]; "rss_feed_template" = ps: with ps; [ aiohttp-cors ];
"rtorrent" = ps: with ps; [ ]; "rtorrent" = ps: with ps; [ ];
"rtsp_to_webrtc" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; # missing inputs: rtsp-to-webrtc
"ruckus_unleashed" = ps: with ps; [ pyruckus ]; "ruckus_unleashed" = ps: with ps; [ pyruckus ];
"russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio "russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio
"russound_rnet" = ps: with ps; [ ]; # missing inputs: russound "russound_rnet" = ps: with ps; [ ]; # missing inputs: russound
@ -749,6 +761,7 @@
"sendgrid" = ps: with ps; [ sendgrid ]; "sendgrid" = ps: with ps; [ sendgrid ];
"sense" = ps: with ps; [ sense-energy ]; "sense" = ps: with ps; [ sense-energy ];
"sensehat" = ps: with ps; [ ]; # missing inputs: sense-hat "sensehat" = ps: with ps; [ ]; # missing inputs: sense-hat
"senseme" = ps: with ps; [ ]; # missing inputs: aiosenseme
"sensibo" = ps: with ps; [ ]; # missing inputs: pysensibo "sensibo" = ps: with ps; [ ]; # missing inputs: pysensibo
"sensor" = ps: with ps; [ sqlalchemy ]; "sensor" = ps: with ps; [ sqlalchemy ];
"sentry" = ps: with ps; [ sentry-sdk ]; "sentry" = ps: with ps; [ sentry-sdk ];
@ -803,7 +816,7 @@
"somfy_mylink" = ps: with ps; [ somfy-mylink-synergy ]; "somfy_mylink" = ps: with ps; [ somfy-mylink-synergy ];
"sonarr" = ps: with ps; [ sonarr ]; "sonarr" = ps: with ps; [ sonarr ];
"songpal" = ps: with ps; [ python-songpal ]; "songpal" = ps: with ps; [ python-songpal ];
"sonos" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr plexapi plexauth plexwebsocket soco zeroconf ]; "sonos" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr plexapi plexauth plexwebsocket soco spotipy zeroconf ];
"sony_projector" = ps: with ps; [ pysdcp ]; "sony_projector" = ps: with ps; [ pysdcp ];
"soundtouch" = ps: with ps; [ aiohttp-cors ifaddr libsoundtouch zeroconf ]; "soundtouch" = ps: with ps; [ aiohttp-cors ifaddr libsoundtouch zeroconf ];
"spaceapi" = ps: with ps; [ aiohttp-cors ]; "spaceapi" = ps: with ps; [ aiohttp-cors ];
@ -822,9 +835,10 @@
"statistics" = ps: with ps; [ sqlalchemy ]; "statistics" = ps: with ps; [ sqlalchemy ];
"statsd" = ps: with ps; [ statsd ]; "statsd" = ps: with ps; [ statsd ];
"steam_online" = ps: with ps; [ ]; # missing inputs: steamodd "steam_online" = ps: with ps; [ ]; # missing inputs: steamodd
"steamist" = ps: with ps; [ aiohttp-cors ifaddr ]; # missing inputs: aiosteamist discovery30303
"stiebel_eltron" = ps: with ps; [ pymodbus ]; # missing inputs: pystiebeleltron "stiebel_eltron" = ps: with ps; [ pymodbus ]; # missing inputs: pystiebeleltron
"stookalert" = ps: with ps; [ ]; # missing inputs: stookalert "stookalert" = ps: with ps; [ ]; # missing inputs: stookalert
"stream" = ps: with ps; [ aiohttp-cors ha-av ]; "stream" = ps: with ps; [ pyturbojpeg aiohttp-cors av ];
"streamlabswater" = ps: with ps; [ streamlabswater ]; "streamlabswater" = ps: with ps; [ streamlabswater ];
"stt" = ps: with ps; [ aiohttp-cors ]; "stt" = ps: with ps; [ aiohttp-cors ];
"subaru" = ps: with ps; [ subarulink ]; "subaru" = ps: with ps; [ subarulink ];
@ -848,11 +862,10 @@
"syslog" = ps: with ps; [ ]; "syslog" = ps: with ps; [ ];
"system_bridge" = ps: with ps; [ aiohttp-cors ifaddr systembridge zeroconf ]; "system_bridge" = ps: with ps; [ aiohttp-cors ifaddr systembridge zeroconf ];
"system_health" = ps: with ps; [ aiohttp-cors ]; "system_health" = ps: with ps; [ aiohttp-cors ];
"system_log" = ps: with ps; [ aiohttp-cors ]; "system_log" = ps: with ps; [ ];
"systemmonitor" = ps: with ps; [ psutil ]; "systemmonitor" = ps: with ps; [ psutil ];
"tado" = ps: with ps; [ python-tado ]; "tado" = ps: with ps; [ python-tado ];
"tag" = ps: with ps; [ ]; "tag" = ps: with ps; [ ];
"tahoma" = ps: with ps; [ tahoma-api ];
"tailscale" = ps: with ps; [ tailscale ]; "tailscale" = ps: with ps; [ tailscale ];
"tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility "tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility
"tankerkoenig" = ps: with ps; [ pytankerkoenig ]; "tankerkoenig" = ps: with ps; [ pytankerkoenig ];
@ -877,7 +890,7 @@
"thinkingcleaner" = ps: with ps; [ ]; # missing inputs: pythinkingcleaner "thinkingcleaner" = ps: with ps; [ ]; # missing inputs: pythinkingcleaner
"thomson" = ps: with ps; [ ]; "thomson" = ps: with ps; [ ];
"threshold" = ps: with ps; [ ]; "threshold" = ps: with ps; [ ];
"tibber" = ps: with ps; [ pytibber ]; "tibber" = ps: with ps; [ pytibber sqlalchemy ];
"tikteck" = ps: with ps; [ ]; # missing inputs: tikteck "tikteck" = ps: with ps; [ ]; # missing inputs: tikteck
"tile" = ps: with ps; [ pytile ]; "tile" = ps: with ps; [ pytile ];
"time_date" = ps: with ps; [ ]; "time_date" = ps: with ps; [ ];
@ -910,7 +923,7 @@
"twilio" = ps: with ps; [ aiohttp-cors twilio ]; "twilio" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_call" = ps: with ps; [ aiohttp-cors twilio ]; "twilio_call" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_sms" = ps: with ps; [ aiohttp-cors twilio ]; "twilio_sms" = ps: with ps; [ aiohttp-cors twilio ];
"twinkly" = ps: with ps; [ twinkly-client ]; "twinkly" = ps: with ps; [ ]; # missing inputs: ttls
"twitch" = ps: with ps; [ python-twitch-client ]; "twitch" = ps: with ps; [ python-twitch-client ];
"twitter" = ps: with ps; [ twitterapi ]; "twitter" = ps: with ps; [ twitterapi ];
"ubus" = ps: with ps; [ openwrt-ubus-rpc ]; "ubus" = ps: with ps; [ openwrt-ubus-rpc ];
@ -919,6 +932,7 @@
"unifi" = ps: with ps; [ aiounifi ]; "unifi" = ps: with ps; [ aiounifi ];
"unifi_direct" = ps: with ps; [ pexpect ]; "unifi_direct" = ps: with ps; [ pexpect ];
"unifiled" = ps: with ps; [ unifiled ]; "unifiled" = ps: with ps; [ unifiled ];
"unifiprotect" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pyunifiprotect unifi-discovery
"universal" = ps: with ps; [ ]; "universal" = ps: with ps; [ ];
"upb" = ps: with ps; [ upb-lib ]; "upb" = ps: with ps; [ upb-lib ];
"upc_connect" = ps: with ps; [ connect-box ]; "upc_connect" = ps: with ps; [ connect-box ];
@ -935,7 +949,7 @@
"vacuum" = ps: with ps; [ ]; "vacuum" = ps: with ps; [ ];
"vallox" = ps: with ps; [ ]; # missing inputs: vallox-websocket-api "vallox" = ps: with ps; [ ]; # missing inputs: vallox-websocket-api
"vasttrafik" = ps: with ps; [ ]; # missing inputs: vtjp "vasttrafik" = ps: with ps; [ ]; # missing inputs: vtjp
"velbus" = ps: with ps; [ velbus-aio ]; "velbus" = ps: with ps; [ aiohttp-cors pyserial pyudev velbus-aio ];
"velux" = ps: with ps; [ pyvlx ]; "velux" = ps: with ps; [ pyvlx ];
"venstar" = ps: with ps; [ venstarcolortouch ]; "venstar" = ps: with ps; [ venstarcolortouch ];
"vera" = ps: with ps; [ pyvera ]; "vera" = ps: with ps; [ pyvera ];
@ -967,11 +981,11 @@
"waze_travel_time" = ps: with ps; [ wazeroutecalculator ]; "waze_travel_time" = ps: with ps; [ wazeroutecalculator ];
"weather" = ps: with ps; [ ]; "weather" = ps: with ps; [ ];
"webhook" = ps: with ps; [ aiohttp-cors ]; "webhook" = ps: with ps; [ aiohttp-cors ];
"webostv" = ps: with ps; [ aiopylgtv ]; "webostv" = ps: with ps; [ sqlalchemy ]; # missing inputs: aiowebostv
"websocket_api" = ps: with ps; [ aiohttp-cors ]; "websocket_api" = ps: with ps; [ aiohttp-cors ];
"wemo" = ps: with ps; [ pywemo ]; "wemo" = ps: with ps; [ pywemo ];
"whirlpool" = ps: with ps; [ whirlpool-sixth-sense ]; "whirlpool" = ps: with ps; [ whirlpool-sixth-sense ];
"whois" = ps: with ps; [ python-whois ]; "whois" = ps: with ps; [ whois ];
"wiffi" = ps: with ps; [ wiffi ]; "wiffi" = ps: with ps; [ wiffi ];
"wilight" = ps: with ps; [ pywilight ]; "wilight" = ps: with ps; [ pywilight ];
"wirelesstag" = ps: with ps; [ ]; # missing inputs: wirelesstagpy "wirelesstag" = ps: with ps; [ ]; # missing inputs: wirelesstagpy
@ -1023,7 +1037,6 @@
"abode" "abode"
"accuweather" "accuweather"
"acmeda" "acmeda"
"adax"
"adguard" "adguard"
"advantage_air" "advantage_air"
"aemet" "aemet"
@ -1103,6 +1116,7 @@
"coronavirus" "coronavirus"
"counter" "counter"
"cover" "cover"
"cpuspeed"
"crownstone" "crownstone"
"daikin" "daikin"
"darksky" "darksky"
@ -1120,10 +1134,12 @@
"devolo_home_network" "devolo_home_network"
"dexcom" "dexcom"
"dhcp" "dhcp"
"diagnostics"
"dialogflow" "dialogflow"
"directv" "directv"
"discovery" "discovery"
"dlna_dmr" "dlna_dmr"
"dnsip"
"doorbird" "doorbird"
"dsmr" "dsmr"
"dte_energy_bridge" "dte_energy_bridge"
@ -1135,6 +1151,7 @@
"efergy" "efergy"
"elgato" "elgato"
"elkm1" "elkm1"
"elmax"
"emonitor" "emonitor"
"emulated_hue" "emulated_hue"
"emulated_kasa" "emulated_kasa"
@ -1162,6 +1179,7 @@
"fireservicerota" "fireservicerota"
"firmata" "firmata"
"fjaraskupan" "fjaraskupan"
"flic"
"flick_electric" "flick_electric"
"flipr" "flipr"
"flo" "flo"
@ -1194,9 +1212,11 @@
"geonetnz_quakes" "geonetnz_quakes"
"geonetnz_volcano" "geonetnz_volcano"
"gios" "gios"
"github"
"glances" "glances"
"goalzero" "goalzero"
"gogogate2" "gogogate2"
"goodwe"
"google" "google"
"google_assistant" "google_assistant"
"google_domains" "google_domains"
@ -1229,6 +1249,7 @@
"homekit_controller" "homekit_controller"
"homematic" "homematic"
"homematicip_cloud" "homematicip_cloud"
"homewizard"
"honeywell" "honeywell"
"html5" "html5"
"http" "http"
@ -1249,6 +1270,7 @@
"imap_email_content" "imap_email_content"
"influxdb" "influxdb"
"input_boolean" "input_boolean"
"input_button"
"input_datetime" "input_datetime"
"input_number" "input_number"
"input_select" "input_select"
@ -1277,6 +1299,7 @@
"kraken" "kraken"
"kulersky" "kulersky"
"lastfm" "lastfm"
"launch_library"
"lcn" "lcn"
"light" "light"
"litterrobot" "litterrobot"
@ -1343,6 +1366,7 @@
"network" "network"
"nexia" "nexia"
"nightscout" "nightscout"
"nina"
"no_ip" "no_ip"
"notify" "notify"
"notion" "notion"
@ -1356,6 +1380,7 @@
"omnilogic" "omnilogic"
"onboarding" "onboarding"
"ondilo_ico" "ondilo_ico"
"open_meteo"
"openalpr_cloud" "openalpr_cloud"
"openalpr_local" "openalpr_local"
"openerz" "openerz"
@ -1389,6 +1414,7 @@
"proximity" "proximity"
"push" "push"
"pushbullet" "pushbullet"
"pvoutput"
"pvpc_hourly_pricing" "pvpc_hourly_pricing"
"python_script" "python_script"
"qld_bushfire" "qld_bushfire"
@ -1453,6 +1479,7 @@
"snips" "snips"
"solaredge" "solaredge"
"solarlog" "solarlog"
"solax"
"soma" "soma"
"somfy" "somfy"
"somfy_mylink" "somfy_mylink"
@ -1519,7 +1546,6 @@
"tuya" "tuya"
"twentemilieu" "twentemilieu"
"twilio" "twilio"
"twinkly"
"twitch" "twitch"
"uk_transport" "uk_transport"
"unifi" "unifi"
@ -1556,10 +1582,10 @@
"waze_travel_time" "waze_travel_time"
"weather" "weather"
"webhook" "webhook"
"webostv"
"websocket_api" "websocket_api"
"wemo" "wemo"
"whirlpool" "whirlpool"
"whois"
"wiffi" "wiffi"
"wilight" "wilight"
"wled" "wled"

View file

@ -25,19 +25,6 @@
let let
defaultOverrides = [ defaultOverrides = [
# aiounify 29 breaks integration tests
(self: super: {
aiounifi = super.aiounifi.overridePythonAttrs (oldAttrs: rec {
version = "28";
src = fetchFromGitHub {
owner = "Kane610";
repo = "aiounifi";
rev = "v${version}";
sha256 = "1r86pk80sa1la2s7c6v9svh5cpkci6jcw1xziz0h09jdvv5j5iff";
};
});
})
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
(mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270") (mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270")
@ -54,36 +41,6 @@ let
}); });
}) })
# Pinned due to API changes in iaqualink>=2.0, remove after
# https://github.com/home-assistant/core/pull/48137 was merged
(self: super: {
iaqualink = super.iaqualink.overridePythonAttrs (oldAttrs: rec {
version = "0.3.90";
src = fetchFromGitHub {
owner = "flz";
repo = "iaqualink-py";
rev = "v${version}";
sha256 = "0c8ckbbr1n8gx5k63ymgyfkbz3d0rbdvghg8fqdvbg4nrigrs5v0";
};
checkInputs = oldAttrs.checkInputs ++ [ python3.pkgs.asynctest ];
});
})
# Pinned due to API changes in influxdb-client>1.21.0
(self: super: {
influxdb-client = super.influxdb-client.overridePythonAttrs (oldAttrs: rec {
version = "1.21.0";
src = fetchFromGitHub {
owner = "influxdata";
repo = "influxdb-client-python";
rev = "v${version}";
sha256 = "081pwd3aa7kbgxqcl1hfi2ny4iapnxkcp9ypsfslr69d0khvfc4s";
};
});
})
(mkOverride "jinja2" "3.0.3" "1mvwr02s86zck5wsmd9wjxxb9iaqr17hdi5xza9vkwv8rmrv46v1")
# Pinned due to API changes in pyruckus>0.12 # Pinned due to API changes in pyruckus>0.12
(self: super: { (self: super: {
pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec { pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {
@ -97,24 +54,11 @@ let
}); });
}) })
# Pinned due to API changes in eebrightbox>=0.0.5
(self: super: {
eebrightbox = super.eebrightbox.overridePythonAttrs (oldAttrs: rec {
version = "0.0.4";
src = fetchFromGitHub {
owner = "krygal";
repo = "eebrightbox";
rev = version;
sha256 = "0d8mmpwgrd7gymw5263r1v2wjv6dx6w6pq13d62fkfm4h2hya4a4";
};
});
})
# Pinned due to API changes in 0.1.0 # Pinned due to API changes in 0.1.0
(mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp") (mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp")
# Requirements for recorder not found: ['sqlalchemy==1.4.27']. # Requirements for recorder not found: ['sqlalchemy==1.4.27'].
(mkOverride "sqlalchemy" "1.4.27" "031jbd0svrvwr3n52iibp9mkwsj9wicnck45yd26da5kmsfkas6p") #(mkOverride "sqlalchemy" "1.4.27" "031jbd0svrvwr3n52iibp9mkwsj9wicnck45yd26da5kmsfkas6p")
# Pinned due to API changes in 0.4.0 # Pinned due to API changes in 0.4.0
(self: super: { (self: super: {
@ -177,14 +121,15 @@ 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 = "2021.12.10"; hassVersion = "2022.2.0";
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
version = assert (componentPackages.version == hassVersion); hassVersion; version = assert (componentPackages.version == hassVersion); hassVersion;
format = "pyproject";
# check REQUIRED_PYTHON_VER in homeassistant/const.py # check REQUIRED_PYTHON_VER in homeassistant/const.py
disabled = python.pythonOlder "3.8"; disabled = python.pythonOlder "3.9";
# 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;
@ -194,7 +139,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = version; rev = version;
hash = "sha256:0nyddcjy4diq5bakpb76frax44i0jraj2vvpfxrj50h9l5pdwsaf"; hash = "sha256:01gx6i147h7amj41mv46x6j9aah4qd1zjybv5px5y9p5cbhjccms";
}; };
# 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
@ -223,9 +168,9 @@ in python.pkgs.buildPythonApplication rec {
in '' in ''
sed -r -i \ sed -r -i \
${lib.concatStringsSep "\n" (map (package: ${lib.concatStringsSep "\n" (map (package:
''-e 's@${package}[<>=]+.*@${package}",@g' \'' ''-e 's@${package}[<>=]+.*@${package}@g' \''
) relaxedConstraints)} ) relaxedConstraints)}
setup.py setup.cfg
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"' substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
''; '';
@ -256,8 +201,6 @@ in python.pkgs.buildPythonApplication rec {
yarl yarl
# Not in setup.py, but used in homeassistant/util/package.py # Not in setup.py, but used in homeassistant/util/package.py
setuptools setuptools
] ++ lib.optionals (pythonOlder "3.9") [
backports-zoneinfo
] ++ componentBuildInputs ++ extraBuildInputs; ] ++ componentBuildInputs ++ extraBuildInputs;
makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip"; makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip";
@ -280,6 +223,9 @@ in python.pkgs.buildPythonApplication rec {
respx respx
stdlib-list stdlib-list
tqdm tqdm
# required by tests/pylint
astroid
pylint
# required by tests/auth/mfa_modules # required by tests/auth/mfa_modules
pyotp pyotp
] ++ lib.concatMap (component: getPackages component python.pkgs) [ ] ++ lib.concatMap (component: getPackages component python.pkgs) [

View file

@ -4,11 +4,11 @@ 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 = "20211229.1"; version = "20220202.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-glVjJ9iOmhAIGD65PHQu9l7Wc/lr5XRya2mi20/UVgs="; sha256 = "sha256-O5oDDptQmwM02SESSS314YlvCqrOcEHNBSKlYE/qrTc=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package

View file

@ -50,17 +50,14 @@ in lib.listToAttrs (map (component: lib.nameValuePair component (
++ extraPytestFlagsArray.${component} or [ ] ++ extraPytestFlagsArray.${component} or [ ]
++ [ "tests/components/${component}" ]; ++ [ "tests/components/${component}" ];
preCheck = old.preCheck + lib.optionalString (component != "network") '' preCheck = old.preCheck + lib.optionalString (builtins.elem component [ "emulated_hue" "songpal" "system_log" ]) ''
patch -p1 < ${./patches/tests-mock-source-ip.patch} patch -p1 < ${./patches/tests-mock-source-ip.patch}
''; '';
meta = old.meta // { meta = old.meta // {
broken = lib.elem component [ broken = lib.elem component [
"airtouch4" "airtouch4"
"glances" "dnsip"
"ridwell"
"venstar"
"yamaha_musiccast"
]; ];
# upstream only tests on Linux, so do we. # upstream only tests on Linux, so do we.
platforms = lib.platforms.linux; platforms = lib.platforms.linux;

View file

@ -52,6 +52,7 @@ mapAliases ({
dns = dnspython; # added 2017-12-10 dns = dnspython; # added 2017-12-10
dogpile_cache = dogpile-cache; # added 2021-10-28 dogpile_cache = dogpile-cache; # added 2021-10-28
dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20 dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14 gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28 glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28

View file

@ -2512,8 +2512,6 @@ in {
edward = callPackage ../development/python-modules/edward { }; edward = callPackage ../development/python-modules/edward { };
eebrightbox = callPackage ../development/python-modules/eebrightbox { };
effect = callPackage ../development/python-modules/effect { }; effect = callPackage ../development/python-modules/effect { };
eggdeps = callPackage ../development/python-modules/eggdeps { }; eggdeps = callPackage ../development/python-modules/eggdeps { };