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"
];
in {
ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'";
ExecStart = "${package}/bin/hass --config '${cfg.configDir}'";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = "hass";
Group = "hass";

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "awesomeversion";
version = "21.11.0";
version = "22.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "ludeeus";
repo = pname;
rev = version;
sha256 = "sha256-qxN5AdLlzadG0/raeAyJ/37PLgYLndl1JQSVkgdLv/4=";
sha256 = "sha256-eoY920c8mgunvZd0M/vR7+bMCPFqqCm3F/fq0vo6K/0=";
};
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 {
pname = "emoji";
version = "1.6.2";
version = "1.6.3";
src = fetchFromGitHub {
owner = "carpedm20";
repo = pname;
rev = "v${version}";
sha256 = "1g927w9l3j5mycg6pqa4vjk2lyy35sppfp8pbzb6mvca500001rk";
sha256 = "sha256-0QOtsHGhqbjaEDpSbUXdE8+u6xzWbrTexx+BAeYwKa8=";
};
checkInputs = [

View file

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

View file

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

View file

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

View file

@ -12,23 +12,17 @@
buildPythonPackage rec {
pname = "glean-sdk";
version = "42.2.0";
version = "43.0.2";
src = fetchPypi {
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 {
inherit src;
name = "${pname}-${version}";
sha256 = "sha256-/+rKGPYTLovgjTGL2F/pWzlUy1tY207yuJz3Xdhm1hg=";
sha256 = "sha256:1qi7zn2278jpry466w3xj1wpyy5f82bffi55i6nva591i3r1z4am";
};
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-cloud-pubsub
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests_oauthlib
@ -15,7 +16,7 @@
buildPythonPackage rec {
pname = "google-nest-sdm";
version = "1.5.1";
version = "1.6.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -24,7 +25,7 @@ buildPythonPackage rec {
owner = "allenporter";
repo = "python-google-nest-sdm";
rev = version;
sha256 = "sha256-8Y3ixkDl/AmXQMOY+29og5njMh9M2qjwWBGCsiqX5PU=";
sha256 = "sha256-qgowVCsSNa+Gt+fWnR1eMfkbtpZD7DS4ALZYz6KZZTM=";
};
propagatedBuildInputs = [
@ -39,6 +40,7 @@ buildPythonPackage rec {
asynctest
coreutils
pytest-aiohttp
pytest-asyncio
pytestCheckHook
];

View file

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

View file

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

View file

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

View file

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

View file

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "pydaikin";
version = "2.6.0";
version = "2.7.0";
disabled = pythonOlder "3.6";
src = fetchFromBitbucket {
owner = "mustang51";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Fk6zMWgvhKp+7BMDGw89Akb4fgK6+xi+AyvEY3pdTQQ=";
sha256 = "sha256-k6NAQvt79Qo7sAXQwOjq4Coz2iTZAUImasc/oMSpmmg=";
};
propagatedBuildInputs = [
@ -28,7 +28,7 @@ buildPythonPackage rec {
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'
doCheck = false;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "rflink";
version = "0.0.58";
version = "0.0.62";
format = "setuptools";
src = fetchFromGitHub {
owner = "aequitas";
repo = "python-rflink";
rev = version;
sha256 = "1zab55lsw419gg0jfrl69ap6128vbi3wdmg5z7qin65ijpjdhasc";
sha256 = "sha256-dEzkYE8xtUzvdsnPaSiQR8960WLOEcr/QhwDiQlobcs=";
};
propagatedBuildInputs = [
@ -34,15 +34,6 @@ buildPythonPackage rec {
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 = ''
substituteInPlace setup.py \
--replace "version=version_from_git()" "version='${version}'"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -25,19 +25,6 @@
let
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
(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
(self: super: {
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
(mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp")
# 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
(self: super: {
@ -177,14 +121,15 @@ let
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "2021.12.10";
hassVersion = "2022.2.0";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
version = assert (componentPackages.version == hassVersion); hassVersion;
format = "pyproject";
# 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!
dontStrip = true;
@ -194,7 +139,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = version;
hash = "sha256:0nyddcjy4diq5bakpb76frax44i0jraj2vvpfxrj50h9l5pdwsaf";
hash = "sha256:01gx6i147h7amj41mv46x6j9aah4qd1zjybv5px5y9p5cbhjccms";
};
# 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 ''
sed -r -i \
${lib.concatStringsSep "\n" (map (package:
''-e 's@${package}[<>=]+.*@${package}",@g' \''
''-e 's@${package}[<>=]+.*@${package}@g' \''
) relaxedConstraints)}
setup.py
setup.cfg
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
'';
@ -256,8 +201,6 @@ in python.pkgs.buildPythonApplication rec {
yarl
# Not in setup.py, but used in homeassistant/util/package.py
setuptools
] ++ lib.optionals (pythonOlder "3.9") [
backports-zoneinfo
] ++ componentBuildInputs ++ extraBuildInputs;
makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip";
@ -280,6 +223,9 @@ in python.pkgs.buildPythonApplication rec {
respx
stdlib-list
tqdm
# required by tests/pylint
astroid
pylint
# required by tests/auth/mfa_modules
pyotp
] ++ 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
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend";
version = "20211229.1";
version = "20220202.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-glVjJ9iOmhAIGD65PHQu9l7Wc/lr5XRya2mi20/UVgs=";
sha256 = "sha256-O5oDDptQmwM02SESSS314YlvCqrOcEHNBSKlYE/qrTc=";
};
# 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 [ ]
++ [ "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}
'';
meta = old.meta // {
broken = lib.elem component [
"airtouch4"
"glances"
"ridwell"
"venstar"
"yamaha_musiccast"
"dnsip"
];
# upstream only tests on Linux, so do we.
platforms = lib.platforms.linux;

View file

@ -52,6 +52,7 @@ mapAliases ({
dns = dnspython; # added 2017-12-10
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
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
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

View file

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