Merge pull request #138025 from NixOS/home-assistant
home-assistant: 2021.8.8 -> 2021.9.6
This commit is contained in:
commit
6f12ff7aa5
23 changed files with 139 additions and 92 deletions
|
@ -310,11 +310,13 @@ in {
|
|||
"serial_pm"
|
||||
"sms"
|
||||
"upb"
|
||||
"usb"
|
||||
"velbus"
|
||||
"w800rf32"
|
||||
"xbee"
|
||||
"zha"
|
||||
"zwave"
|
||||
"zwave_js"
|
||||
];
|
||||
in {
|
||||
ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'";
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioambient";
|
||||
version = "1.2.6";
|
||||
version = "1.3.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-EppnuZP62YTFI3UJUzBUj2m5TvFh1WiDz9smHY7We60=";
|
||||
sha256 = "sha256-blejTXyLe3B2kNytBh+zJz0Q0xDP+Vo2SV9gc7OX6S0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -13,14 +13,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioswitcher";
|
||||
version = "2.0.4";
|
||||
version = "2.0.5";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TomerFi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-n4JvtShs2/shJxAzxm6qyipVQ7e3QfeVwhnqu6RWZss=";
|
||||
sha256 = "sha256-q1toEKEqTJuZbsrqDjfbUWsQmrwiu2MtcoWqKKRUEJA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -14,14 +14,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "async-upnp-client";
|
||||
version = "0.21.0";
|
||||
version = "0.21.3";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StevenLooman";
|
||||
repo = "async_upnp_client";
|
||||
rev = version;
|
||||
sha256 = "sha256-GKvljxm2N4pC8Mh+UOW170VPB3va9X9BuQXp6OJ/SSQ=";
|
||||
sha256 = "sha256-85MdzvNac199pZObhfGv33ycgzt4nr9eHYvSjMW6kq8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -39,20 +39,22 @@ buildPythonPackage rec {
|
|||
|
||||
disabledTests = [
|
||||
# socket.gaierror: [Errno -2] Name or service not known
|
||||
"test_get_local_ip"
|
||||
"test_async_get_local_ip"
|
||||
"test_get_local_ip"
|
||||
# OSError: [Errno 101] Network is unreachable
|
||||
"test_subscribe_fail"
|
||||
"test_subscribe_auto_resubscribe"
|
||||
"test_subscribe_manual_resubscribe"
|
||||
"test_auto_resubscribe_fail"
|
||||
"test_init"
|
||||
"test_on_notify_dlna_event"
|
||||
"test_on_notify_upnp_event"
|
||||
"test_unsubscribe"
|
||||
"test_subscribe"
|
||||
"test_subscribe_renew"
|
||||
"test_server_init"
|
||||
"test_server_start"
|
||||
"test_start_server"
|
||||
"test_init"
|
||||
"test_subscribe"
|
||||
"test_subscribe_auto_resubscribe"
|
||||
"test_subscribe_fail"
|
||||
"test_subscribe_manual_resubscribe"
|
||||
"test_subscribe_renew"
|
||||
"test_unsubscribe"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"test_deferred_callback_url"
|
||||
];
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "bellows";
|
||||
version = "0.26.0";
|
||||
version = "0.27.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "bellows";
|
||||
rev = version;
|
||||
sha256 = "0qbsk5iv3vrpwz7kfmjdbc66rfkg788p6wwxbf6jzfarfhcgrh3k";
|
||||
sha256 = "sha256-lsGpCd4XgwP91JmRpV6ohXefd1Hm9C51Jk4shU6Irkw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "env-canada";
|
||||
version = "0.5.0";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "michaeldavie";
|
||||
repo = "env_canada";
|
||||
rev = "v${version}";
|
||||
sha256 = "0dgw2mf760r1y0mq8bcvx6y3bcqpaf8p97rzf7pd0pbwvwrcsj3n";
|
||||
sha256 = "sha256-tafhOW1wd/D0ojRUdDzp62cQ8w7wgx5ITcWAcoY1i5Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -20,6 +20,11 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-05x3EQoyv38j4UcixN0sf5BI2oTjfasAIQyZqQSjdPM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "requests==2.25.1" "requests>=2.25.1"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, backoff
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
|
@ -12,7 +13,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyiqvia";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
@ -21,7 +22,7 @@ buildPythonPackage rec {
|
|||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "18qzxxn9xw9rwv3qz8k3zxh9xxy8c7rs8xlsrdrcq9wb0dhd7p0r";
|
||||
sha256 = "sha256-uDcBpPHh+wQHI2vGjnumwVGt5ZOreVq+L3kOam97uW4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -30,6 +31,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
backoff
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymodbus";
|
||||
version = "2.5.2";
|
||||
version = "2.5.3rc1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "riptideio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-jqVfBAjIdRBB5AYd0ZkMi7qAUR6vSYeBI4OYEv+mKwE=";
|
||||
sha256 = "sha256-jynljjTipN/Yx97RSWikcotxCqosNWSDH7GdwcSIiRU=";
|
||||
};
|
||||
|
||||
# Twisted asynchronous version is not supported due to a missing dependency
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymyq";
|
||||
version = "3.1.3";
|
||||
version = "3.1.4";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arraylabs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-V2u2wUSPwiF6o6OWhQVKiHtzhn0/rzyM6e2+a+D7UNA=";
|
||||
sha256 = "sha256-B8CnyM0nQr8HWnD5toMd8A57j/UtnQ2aWys0netOAtA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -14,14 +14,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyopenuv";
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-S2X7cTArjiWOFjQGnrZ4AuhgN8t18wf9d6i9X5thRZg=";
|
||||
sha256 = "sha256-WYCIQTQbDh9U4nB+dgLXbBJXErC4l5Hnk8K5n4CctCw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "snitun";
|
||||
version = "0.27.0";
|
||||
version = "0.30.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NabuCasa";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-vx9F+Nat69Yadd+YpsnBCstnxCEICFJI14TdG6PvstI=";
|
||||
sha256 = "sha256-IjdgxX6ed9IWMFaMXIXQWZWoODrZBzXtMAcMOIhPFVQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -14,14 +14,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "soco";
|
||||
version = "0.23.3";
|
||||
version = "0.24.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SoCo";
|
||||
repo = "SoCo";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-T6gDImH/HfHg8e1YzUYB8zr2GJHRtF6vdYm2cSiXSb0=";
|
||||
sha256 = "sha256-3VL2JFlukfQdjTP65X40OOsuCUVsY9kuvRKUZ3qEd+s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
32
pkgs/development/python-modules/stdlib-list/default.nix
Normal file
32
pkgs/development/python-modules/stdlib-list/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchPypi
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stdlib-list";
|
||||
version = "0.8.0";
|
||||
format = "setuptools";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "17vdn4q0sdlndc2fr9svapxx6366hnrhkn0fswp1xmr0jxqh7rd1";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"stdlib_list"
|
||||
];
|
||||
|
||||
# tests see mismatches to our standard library
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A list of Python Standard Libraries";
|
||||
homepage = "https://github.com/jackmaney/python-stdlib-list";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "yeelight";
|
||||
version = "0.7.3";
|
||||
version = "0.7.4";
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "stavros";
|
||||
repo = "python-yeelight";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-sdSzriAgY3LSOeyPB2Pe1k9iamStZ1OlYXJZviRa+TY=";
|
||||
sha256 = "sha256-qpyD4o8YMVu6DiizuBs/44Vz0oPIMR4/YQwaCDNKpFI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha-quirks";
|
||||
version = "0.0.59";
|
||||
version = "0.0.61";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zha-device-handlers";
|
||||
rev = version;
|
||||
sha256 = "1x6s44apl393as847ghbqr26h0y0h4w3wp53bs0m2nfbzjwin3i7";
|
||||
sha256 = "sha256-uDQAXH0p8Ly0ZbwNlkVo1b7fAXSu77U7v3BHd0B1YQk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-deconz";
|
||||
version = "0.12.1";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-NpLhVQfezXbJQMvqqZjr9sc8tCjJgGu5Xk3C5/IDeUQ=";
|
||||
sha256 = "sha256-9rxdnY5tMtPJLE/lRaphNR1L1vdhAxnIDoh8xCHmzjc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "zwave-js-server-python";
|
||||
version = "0.28.0";
|
||||
version = "0.30.0";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "137m9052ndbii0q6zw9vmwsfimai05q9np4wv06nw2p2mhy5x48p";
|
||||
sha256 = "sha256-KYMq0qDVLHzgaYljwYeK58aggD5kBAI1J/RsirGcVvs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2021.8.8";
|
||||
version = "2021.9.6";
|
||||
components = {
|
||||
"abode" = ps: with ps; [ abodepy ];
|
||||
"accuweather" = ps: with ps; [ accuweather ];
|
||||
|
@ -19,12 +19,13 @@
|
|||
"air_quality" = ps: with ps; [ ];
|
||||
"airly" = ps: with ps; [ airly ];
|
||||
"airnow" = ps: with ps; [ pyairnow ];
|
||||
"airtouch4" = ps: with ps; [ ]; # missing inputs: airtouch4pyapi
|
||||
"airvisual" = ps: with ps; [ pyairvisual ];
|
||||
"aladdin_connect" = ps: with ps; [ aladdin-connect ];
|
||||
"alarm_control_panel" = ps: with ps; [ ];
|
||||
"alarmdecoder" = ps: with ps; [ adext ];
|
||||
"alert" = ps: with ps; [ ];
|
||||
"alexa" = ps: with ps; [ aiohttp-cors ];
|
||||
"alexa" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
|
||||
"almond" = ps: with ps; [ aiohttp-cors pyalmond ];
|
||||
"alpha_vantage" = ps: with ps; [ alpha-vantage ];
|
||||
"amazon_polly" = ps: with ps; [ boto3 ];
|
||||
|
@ -111,9 +112,9 @@
|
|||
"buienradar" = ps: with ps; [ buienradar ];
|
||||
"caldav" = ps: with ps; [ caldav ];
|
||||
"calendar" = ps: with ps; [ aiohttp-cors ];
|
||||
"camera" = ps: with ps; [ aiohttp-cors ];
|
||||
"camera" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
|
||||
"canary" = ps: with ps; [ ha-ffmpeg py-canary ];
|
||||
"cast" = ps: with ps; [ aiohttp-cors hass-nabucasa ifaddr mutagen plexapi plexauth plexwebsocket PyChromecast zeroconf ];
|
||||
"cast" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa ifaddr mutagen plexapi plexauth plexwebsocket PyChromecast zeroconf ];
|
||||
"cert_expiry" = ps: with ps; [ ];
|
||||
"channels" = ps: with ps; [ pychannels ];
|
||||
"circuit" = ps: with ps; [ ]; # missing inputs: circuit-webhook
|
||||
|
@ -127,7 +128,7 @@
|
|||
"clicksend_tts" = ps: with ps; [ ];
|
||||
"climacell" = ps: with ps; [ pyclimacell ];
|
||||
"climate" = ps: with ps; [ ];
|
||||
"cloud" = ps: with ps; [ aiohttp-cors hass-nabucasa ];
|
||||
"cloud" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa ];
|
||||
"cloudflare" = ps: with ps; [ pycfdns ];
|
||||
"cmus" = ps: with ps; [ ]; # missing inputs: pycmus
|
||||
"co2signal" = ps: with ps; [ ]; # missing inputs: co2signal
|
||||
|
@ -159,7 +160,7 @@
|
|||
"deconz" = ps: with ps; [ pydeconz ];
|
||||
"decora" = ps: with ps; [ bluepy ]; # missing inputs: decora
|
||||
"decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi
|
||||
"default_config" = ps: with ps; [ pynacl aiodiscover aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa home-assistant-frontend ifaddr pillow scapy sqlalchemy zeroconf ];
|
||||
"default_config" = ps: with ps; [ pynacl pyturbojpeg aiodiscover aiohttp-cors async-upnp-client defusedxml emoji hass-nabucasa home-assistant-frontend ifaddr pillow pyserial pyudev scapy sqlalchemy zeroconf ];
|
||||
"delijn" = ps: with ps; [ pydelijn ];
|
||||
"deluge" = ps: with ps; [ deluge-client ];
|
||||
"demo" = ps: with ps; [ aiohttp-cors ];
|
||||
|
@ -266,8 +267,9 @@
|
|||
"firmata" = ps: with ps; [ pymata-express ];
|
||||
"fitbit" = ps: with ps; [ aiohttp-cors fitbit ];
|
||||
"fixer" = ps: with ps; [ fixerio ];
|
||||
"fjaraskupan" = ps: with ps; [ ]; # missing inputs: fjaraskupan
|
||||
"fleetgo" = ps: with ps; [ ]; # missing inputs: ritassist
|
||||
"flexit" = ps: with ps; [ pymodbus ]; # missing inputs: pyflexit
|
||||
"flexit" = ps: with ps; [ pymodbus ];
|
||||
"flic" = ps: with ps; [ pyflic ];
|
||||
"flick_electric" = ps: with ps; [ pyflick ];
|
||||
"flipr" = ps: with ps; [ ]; # missing inputs: flipr-api
|
||||
|
@ -311,7 +313,7 @@
|
|||
"geonetnz_quakes" = ps: with ps; [ aio-geojson-geonetnz-quakes ];
|
||||
"geonetnz_volcano" = ps: with ps; [ aio-geojson-geonetnz-volcano ];
|
||||
"gios" = ps: with ps; [ gios ];
|
||||
"github" = ps: with ps; [ PyGithub ];
|
||||
"github" = ps: with ps; [ aiogithubapi ];
|
||||
"gitlab_ci" = ps: with ps; [ python-gitlab ];
|
||||
"gitter" = ps: with ps; [ ]; # missing inputs: gitterpy
|
||||
"glances" = ps: with ps; [ glances-api ];
|
||||
|
@ -320,7 +322,7 @@
|
|||
"goalzero" = ps: with ps; [ goalzero ];
|
||||
"gogogate2" = ps: with ps; [ ismartgate ];
|
||||
"google" = ps: with ps; [ google-api-python-client httplib2 oauth2client ];
|
||||
"google_assistant" = ps: with ps; [ aiohttp-cors ];
|
||||
"google_assistant" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
|
||||
"google_cloud" = ps: with ps; [ google-cloud-texttospeech ];
|
||||
"google_domains" = ps: with ps; [ ];
|
||||
"google_maps" = ps: with ps; [ locationsharinglib ];
|
||||
|
@ -392,7 +394,7 @@
|
|||
"ign_sismologia" = ps: with ps; [ georss-ign-sismologia-client ];
|
||||
"ihc" = ps: with ps; [ defusedxml ]; # missing inputs: ihcsdk
|
||||
"image" = ps: with ps; [ aiohttp-cors pillow ];
|
||||
"image_processing" = ps: with ps; [ aiohttp-cors ];
|
||||
"image_processing" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
|
||||
"imap" = ps: with ps; [ aioimaplib ];
|
||||
"imap_email_content" = ps: with ps; [ ];
|
||||
"incomfort" = ps: with ps; [ incomfort-client ];
|
||||
|
@ -409,6 +411,7 @@
|
|||
"intesishome" = ps: with ps; [ pyintesishome ];
|
||||
"ios" = ps: with ps; [ aiohttp-cors ifaddr zeroconf ];
|
||||
"iota" = ps: with ps; [ ]; # missing inputs: pyota
|
||||
"iotawatt" = ps: with ps; [ ]; # missing inputs: iotawattpy
|
||||
"iperf3" = ps: with ps; [ ]; # missing inputs: iperf3
|
||||
"ipma" = ps: with ps; [ pyipma ];
|
||||
"ipp" = ps: with ps; [ pyipp ];
|
||||
|
@ -510,9 +513,9 @@
|
|||
"mfi" = ps: with ps; [ ]; # missing inputs: mficlient
|
||||
"mhz19" = ps: with ps; [ pmsensor ];
|
||||
"microsoft" = ps: with ps; [ ]; # missing inputs: pycsspeechtts
|
||||
"microsoft_face" = ps: with ps; [ aiohttp-cors ];
|
||||
"microsoft_face_detect" = ps: with ps; [ aiohttp-cors ];
|
||||
"microsoft_face_identify" = ps: with ps; [ aiohttp-cors ];
|
||||
"microsoft_face" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
|
||||
"microsoft_face_detect" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
|
||||
"microsoft_face_identify" = ps: with ps; [ pyturbojpeg aiohttp-cors ];
|
||||
"miflora" = ps: with ps; [ bluepy ]; # missing inputs: miflora
|
||||
"mikrotik" = ps: with ps; [ librouteros ];
|
||||
"mill" = ps: with ps; [ millheater ];
|
||||
|
@ -521,7 +524,7 @@
|
|||
"minio" = ps: with ps; [ minio ];
|
||||
"mitemp_bt" = ps: with ps; [ ]; # missing inputs: mitemp_bt
|
||||
"mjpeg" = ps: with ps; [ ];
|
||||
"mobile_app" = ps: with ps; [ pynacl aiohttp-cors emoji hass-nabucasa pillow ];
|
||||
"mobile_app" = ps: with ps; [ pynacl pyturbojpeg aiohttp-cors emoji hass-nabucasa pillow ];
|
||||
"mochad" = ps: with ps; [ ]; # missing inputs: pymochad
|
||||
"modbus" = ps: with ps; [ pymodbus ];
|
||||
"modem_callerid" = ps: with ps; [ ]; # missing inputs: basicmodem
|
||||
|
@ -558,7 +561,7 @@
|
|||
"nello" = ps: with ps; [ ]; # missing inputs: pynello
|
||||
"ness_alarm" = ps: with ps; [ ]; # missing inputs: nessclient
|
||||
"nest" = ps: with ps; [ aiohttp-cors ha-ffmpeg python-nest ]; # missing inputs: google-nest-sdm
|
||||
"netatmo" = ps: with ps; [ aiohttp-cors hass-nabucasa pyatmo ];
|
||||
"netatmo" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pyatmo ];
|
||||
"netdata" = ps: with ps; [ netdata ];
|
||||
"netgear" = ps: with ps; [ ]; # missing inputs: pynetgear
|
||||
"netgear_lte" = ps: with ps; [ ]; # missing inputs: eternalegypt
|
||||
|
@ -573,7 +576,7 @@
|
|||
"niko_home_control" = ps: with ps; [ ]; # missing inputs: niko-home-control
|
||||
"nilu" = ps: with ps; [ ]; # missing inputs: niluclient
|
||||
"nissan_leaf" = ps: with ps; [ ]; # missing inputs: pycarwings2
|
||||
"nmap_tracker" = ps: with ps; [ getmac python-nmap ];
|
||||
"nmap_tracker" = ps: with ps; [ aiohttp-cors getmac ifaddr netmap ]; # missing inputs: mac-vendor-lookup
|
||||
"nmbs" = ps: with ps; [ ]; # missing inputs: pyrail
|
||||
"no_ip" = ps: with ps; [ ];
|
||||
"noaa_tides" = ps: with ps; [ ]; # missing inputs: noaa-coops
|
||||
|
@ -602,7 +605,7 @@
|
|||
"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 zeep ]; # missing inputs: WSDiscovery onvif-zeep-async
|
||||
"onvif" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: WSDiscovery onvif-zeep-async
|
||||
"openalpr_cloud" = ps: with ps; [ ];
|
||||
"openalpr_local" = ps: with ps; [ ];
|
||||
"opencv" = ps: with ps; [ numpy ]; # missing inputs: opencv-python-headless
|
||||
|
@ -625,8 +628,9 @@
|
|||
"osramlightify" = ps: with ps; [ ]; # missing inputs: lightify
|
||||
"otp" = ps: with ps; [ pyotp ];
|
||||
"ovo_energy" = ps: with ps; [ ovoenergy ];
|
||||
"owntracks" = ps: with ps; [ pynacl 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 ];
|
||||
"p1_monitor" = ps: with ps; [ ]; # missing inputs: p1monitor
|
||||
"panasonic_bluray" = ps: with ps; [ ]; # missing inputs: panacotta
|
||||
"panasonic_viera" = ps: with ps; [ ]; # missing inputs: panasonic_viera
|
||||
"pandora" = ps: with ps; [ pexpect ];
|
||||
|
@ -646,7 +650,7 @@
|
|||
"ping" = ps: with ps; [ icmplib ];
|
||||
"pioneer" = ps: with ps; [ ];
|
||||
"pjlink" = ps: with ps; [ ]; # missing inputs: pypjlink2
|
||||
"plaato" = ps: with ps; [ aiohttp-cors hass-nabucasa pyplaato ];
|
||||
"plaato" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pyplaato ];
|
||||
"plant" = ps: with ps; [ sqlalchemy ];
|
||||
"plex" = ps: with ps; [ aiohttp-cors plexapi plexauth plexwebsocket ];
|
||||
"plugwise" = ps: with ps; [ plugwise ];
|
||||
|
@ -681,12 +685,12 @@
|
|||
"quantum_gateway" = ps: with ps; [ ]; # missing inputs: quantum-gateway
|
||||
"qvr_pro" = ps: with ps; [ ]; # missing inputs: pyqvrpro
|
||||
"qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch
|
||||
"rachio" = ps: with ps; [ aiohttp-cors hass-nabucasa rachiopy ];
|
||||
"rachio" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa rachiopy ];
|
||||
"radarr" = ps: with ps; [ ];
|
||||
"radiotherm" = ps: with ps; [ radiotherm ];
|
||||
"rainbird" = ps: with ps; [ ]; # missing inputs: pyrainbird
|
||||
"raincloud" = ps: with ps; [ ]; # missing inputs: raincloudy
|
||||
"rainforest_eagle" = ps: with ps; [ ]; # missing inputs: eagle200_reader uEagle
|
||||
"rainforest_eagle" = ps: with ps; [ aioeagle ueagle ];
|
||||
"rainmachine" = ps: with ps; [ regenmaschine ];
|
||||
"random" = ps: with ps; [ ];
|
||||
"raspihats" = ps: with ps; [ smbus-cffi ]; # missing inputs: raspihats
|
||||
|
@ -728,7 +732,7 @@
|
|||
"russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio
|
||||
"russound_rnet" = ps: with ps; [ ]; # missing inputs: russound
|
||||
"sabnzbd" = ps: with ps; [ aiohttp-cors ifaddr netdisco zeroconf ]; # missing inputs: pysabnzbd
|
||||
"safe_mode" = ps: with ps; [ aiohttp-cors hass-nabucasa home-assistant-frontend pillow sqlalchemy ];
|
||||
"safe_mode" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa home-assistant-frontend pillow sqlalchemy ];
|
||||
"saj" = ps: with ps; [ ]; # missing inputs: pysaj
|
||||
"samsungtv" = ps: with ps; [ getmac samsungctl samsungtvws wakeonlan ];
|
||||
"satel_integra" = ps: with ps; [ ]; # missing inputs: satel_integra
|
||||
|
@ -779,7 +783,7 @@
|
|||
"smappee" = ps: with ps; [ aiohttp-cors pysmappee ];
|
||||
"smart_meter_texas" = ps: with ps; [ smart-meter-texas ];
|
||||
"smarthab" = ps: with ps; [ smarthab ];
|
||||
"smartthings" = ps: with ps; [ aiohttp-cors hass-nabucasa pysmartapp pysmartthings ];
|
||||
"smartthings" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pysmartapp pysmartthings ];
|
||||
"smarttub" = ps: with ps; [ python-smarttub ];
|
||||
"smarty" = ps: with ps; [ ]; # missing inputs: pysmarty
|
||||
"smhi" = ps: with ps; [ smhi-pkg ];
|
||||
|
@ -881,7 +885,7 @@
|
|||
"todoist" = ps: with ps; [ todoist ];
|
||||
"tof" = ps: with ps; [ ]; # missing inputs: RPi.GPIO VL53L1X2
|
||||
"tomato" = ps: with ps; [ ];
|
||||
"toon" = ps: with ps; [ aiohttp-cors hass-nabucasa toonapi ];
|
||||
"toon" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa toonapi ];
|
||||
"torque" = ps: with ps; [ aiohttp-cors ];
|
||||
"totalconnect" = ps: with ps; [ total-connect-client ];
|
||||
"touchline" = ps: with ps; [ ]; # missing inputs: pytouchline
|
||||
|
@ -890,6 +894,7 @@
|
|||
"traccar" = ps: with ps; [ aiohttp-cors stringcase ]; # missing inputs: pytraccar
|
||||
"trace" = ps: with ps; [ ];
|
||||
"trackr" = ps: with ps; [ ]; # missing inputs: pytrackr
|
||||
"tractive" = ps: with ps; [ aiotractive ];
|
||||
"tradfri" = ps: with ps; [ pytradfri ];
|
||||
"trafikverket_train" = ps: with ps; [ pytrafikverket ];
|
||||
"trafikverket_weatherstation" = ps: with ps; [ pytrafikverket ];
|
||||
|
@ -916,13 +921,14 @@
|
|||
"upb" = ps: with ps; [ upb-lib ];
|
||||
"upc_connect" = ps: with ps; [ connect-box ];
|
||||
"upcloud" = ps: with ps; [ upcloud-api ];
|
||||
"updater" = ps: with ps; [ distro ];
|
||||
"updater" = ps: with ps; [ ];
|
||||
"upnp" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr zeroconf ];
|
||||
"uptime" = ps: with ps; [ ];
|
||||
"uptimerobot" = ps: with ps; [ ]; # missing inputs: pyuptimerobot
|
||||
"usb" = ps: with ps; [ aiohttp-cors pyserial pyudev ];
|
||||
"uscis" = ps: with ps; [ ]; # missing inputs: uscisstatus
|
||||
"usgs_earthquakes_feed" = ps: with ps; [ geojson-client ];
|
||||
"utility_meter" = ps: with ps; [ ];
|
||||
"utility_meter" = ps: with ps; [ croniter ];
|
||||
"uvc" = ps: with ps; [ uvcclient ];
|
||||
"vacuum" = ps: with ps; [ ];
|
||||
"vallox" = ps: with ps; [ ]; # missing inputs: vallox-websocket-api
|
||||
|
@ -987,10 +993,10 @@
|
|||
"xs1" = ps: with ps; [ ]; # missing inputs: xs1-api-client
|
||||
"yale_smart_alarm" = ps: with ps; [ yalesmartalarmclient ];
|
||||
"yamaha" = ps: with ps; [ rxv ];
|
||||
"yamaha_musiccast" = ps: with ps; [ aiomusiccast ];
|
||||
"yamaha_musiccast" = ps: with ps; [ aiohttp-cors aiomusiccast async-upnp-client defusedxml ifaddr zeroconf ];
|
||||
"yandex_transport" = ps: with ps; [ aioymaps ];
|
||||
"yandextts" = ps: with ps; [ ];
|
||||
"yeelight" = ps: with ps; [ yeelight ];
|
||||
"yeelight" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr yeelight ];
|
||||
"yeelightsunflower" = ps: with ps; [ ]; # missing inputs: yeelightsunflower
|
||||
"yi" = ps: with ps; [ aioftp ha-ffmpeg ];
|
||||
"youless" = ps: with ps; [ youless-api ];
|
||||
|
@ -1000,13 +1006,13 @@
|
|||
"zeroconf" = ps: with ps; [ aiohttp-cors ifaddr zeroconf ];
|
||||
"zerproc" = ps: with ps; [ pyzerproc ];
|
||||
"zestimate" = ps: with ps; [ xmltodict ];
|
||||
"zha" = ps: with ps; [ aiohttp-cors bellows ifaddr pyserial-asyncio pyserial zeroconf zha-quirks zigpy-cc zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zigpy ];
|
||||
"zha" = ps: with ps; [ aiohttp-cors bellows ifaddr pyserial-asyncio pyserial pyudev zeroconf zha-quirks zigpy-cc zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zigpy ];
|
||||
"zhong_hong" = ps: with ps; [ ]; # missing inputs: zhong_hong_hvac
|
||||
"ziggo_mediabox_xl" = ps: with ps; [ ]; # missing inputs: ziggo-mediabox-xl
|
||||
"zodiac" = ps: with ps; [ ];
|
||||
"zone" = ps: with ps; [ ];
|
||||
"zoneminder" = ps: with ps; [ zm-py ];
|
||||
"zwave" = ps: with ps; [ aiohttp-cors homeassistant-pyozw paho-mqtt pydispatcher python-openzwave-mqtt ];
|
||||
"zwave_js" = ps: with ps; [ aiohttp-cors zwave-js-server-python ];
|
||||
"zwave_js" = ps: with ps; [ aiohttp-cors pyserial pyudev zwave-js-server-python ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,21 +21,22 @@
|
|||
|
||||
let
|
||||
defaultOverrides = [
|
||||
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
|
||||
(mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270")
|
||||
|
||||
# Pinned due to API changes in async-upnp-client>=0.20.0, remove after
|
||||
(self: super: {
|
||||
async-upnp-client = super.async-upnp-client.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.19.2";
|
||||
version = "0.20.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "StevenLooman";
|
||||
repo = "async_upnp_client";
|
||||
rev = version;
|
||||
sha256 = "1v8d2lvxihqasn7866zssys16s0lgxkk6ri2dp4rr7wr8g9ixvdr";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-jxYGOljV7tcsiAgpOhbXj7g7AwyP1kDDC83PiHG6ZFg=";
|
||||
};
|
||||
});
|
||||
})
|
||||
|
||||
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
|
||||
(mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270")
|
||||
|
||||
# Pinned due to API changes in iaqualink>=2.0, remove after
|
||||
# https://github.com/home-assistant/core/pull/48137 was merged
|
||||
(self: super: {
|
||||
|
@ -95,6 +96,9 @@ let
|
|||
});
|
||||
})
|
||||
|
||||
# Pinned due to API changes in 0.1.0
|
||||
(mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp")
|
||||
|
||||
# Pinned due to changes in total-connect-client>0.58 which made the tests fails at the moment
|
||||
(self: super: {
|
||||
total-connect-client = super.total-connect-client.overridePythonAttrs (oldAttrs: rec {
|
||||
|
@ -112,19 +116,6 @@ let
|
|||
(self: super: {
|
||||
home-assistant-frontend = self.callPackage ./frontend.nix { };
|
||||
})
|
||||
|
||||
# Pinned due to incompability with aioesphomeapi 8.0.0
|
||||
(self: super: {
|
||||
aioesphomeapi = super.aioesphomeapi.overrideAttrs (oldAttrs: rec {
|
||||
version = "7.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "esphome";
|
||||
repo = oldAttrs.pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ho/1fpq4yAgmYNERPqs51oqr08ncaN9+GRTUUuGU7ps=";
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
mkOverride = attrname: version: sha256:
|
||||
|
@ -154,7 +145,7 @@ let
|
|||
extraBuildInputs = extraPackages py.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "2021.8.8";
|
||||
hassVersion = "2021.9.6";
|
||||
|
||||
in with py.pkgs; buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
|
@ -171,7 +162,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = version;
|
||||
sha256 = "1fj16qva04d9qhpnfxxacsp82vqqfha5c2zg4f850kld4qhwrgky";
|
||||
sha256 = "1ac56gdnhzkf19h29g0f54camw6v1cg5wx0crhm23r45qlfsjacs";
|
||||
};
|
||||
|
||||
# leave this in, so users don't have to constantly update their downstream patch handling
|
||||
|
@ -181,7 +172,6 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "attrs==21.2.0" "attrs" \
|
||||
--replace "awesomeversion==21.4.0" "awesomeversion" \
|
||||
--replace "bcrypt==3.1.7" "bcrypt" \
|
||||
--replace "cryptography==3.3.2" "cryptography" \
|
||||
|
@ -234,6 +224,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
pytest-xdist
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
stdlib-list
|
||||
jsonpickle
|
||||
respx
|
||||
# required by tests/auth/mfa_modules
|
||||
|
@ -796,6 +787,9 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"--deselect tests/components/local_ip/test_config_flow.py::test_config_flow"
|
||||
# netatmo/test_select.py: NoneType object has no attribute state
|
||||
"--deselect tests/components/netatmo/test_select.py::test_select_schedule_thermostats"
|
||||
# wemo/test_sensor.py: KeyError for various power attributes
|
||||
"--deselect tests/components/wemo/test_sensor.py::TestInsightTodayEnergy::test_state_unavailable"
|
||||
"--deselect tests/components/wemo/test_sensor.py::TestInsightCurrentPower::test_state_unavailable"
|
||||
# helpers/test_system_info.py: AssertionError: assert 'Unknown' == 'Home Assistant Container'
|
||||
"--deselect tests/helpers/test_system_info.py::test_container_installationtype"
|
||||
# tests are located in tests/
|
||||
|
|
|
@ -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 = "20210809.0";
|
||||
version = "20210830.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-5NWNDhQ7XKK9/tC+SbpwOm2MSA2VGHLcE1ggyl6vPkc=";
|
||||
sha256 = "sha256-4sNCnYFQ4IjmMPj7axgienZUMDo+GwTJ38cEf0iZzJI=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
|
|
@ -31,6 +31,8 @@ sed -i -e "s/hassVersion =.*/hassVersion = \"${TARGET_VERSION}\";/" \
|
|||
|
||||
./parse-requirements.py
|
||||
|
||||
read
|
||||
|
||||
(
|
||||
cd ../../..
|
||||
nix-update --version "$TARGET_VERSION" --build home-assistant
|
||||
|
|
|
@ -8592,6 +8592,8 @@ in {
|
|||
|
||||
stdiomask = callPackage ../development/python-modules/stdiomask { };
|
||||
|
||||
stdlib-list = callPackage ../development/python-modules/stdlib-list { };
|
||||
|
||||
stem = callPackage ../development/python-modules/stem { };
|
||||
|
||||
stestr = callPackage ../development/python-modules/stestr { };
|
||||
|
|
Loading…
Reference in a new issue