Merge pull request #194640 from NixOS/home-assistant

This commit is contained in:
Martin Weinelt 2022-10-06 01:42:08 +02:00 committed by GitHub
commit c02a16815b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 229 additions and 131 deletions

View file

@ -17,14 +17,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bellows"; pname = "bellows";
version = "0.33.1"; version = "0.34.1";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zigpy"; owner = "zigpy";
repo = "bellows"; repo = "bellows";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-cpWQdsuW3CA/8HowhMoVV++rrDnjFQcgp+A5CCElj6o="; sha256 = "sha256-a2skDJVqbct1+Ky2D8LXv8VMqFwqznUzXh+o+M6GtvQ=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bluetooth-adapters"; pname = "bluetooth-adapters";
version = "0.5.2"; version = "0.6.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-SyEe/auJaagRl3wg7JjBkLAgHyAeCeesEXvWXE733M4="; hash = "sha256-26w7513h5WWGqKz4OqHob42O0bk1yW8ePPKB2V9+AHs=";
}; };
postPatch = '' postPatch = ''

View file

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, dacite
, pysnmplib , pysnmplib
, pytest-asyncio , pytest-asyncio
, pytest-error-for-skips , pytest-error-for-skips
@ -10,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "brother"; pname = "brother";
version = "1.2.3"; version = "2.0.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -19,10 +20,11 @@ buildPythonPackage rec {
owner = "bieniu"; owner = "bieniu";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-+o6hv63u6FBEu57mD02lss0LQPwgBnXsP8CKQ+/74/Q="; hash = "sha256-pk9VBFha2NfQWI+fbWwGKcGFa93eKr5Cqh85r1CAXpI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
dacite
pysnmplib pysnmplib
]; ];

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bthome-ble"; pname = "bthome-ble";
version = "1.0.0"; version = "1.2.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-yTbJ69FPMIsc/w7UXfvXPLXGRs9s0F4YiccljRyI5Ek="; hash = "sha256-2/2ODlHqQOl4LHUb2fyQpmsBYnoz0Rvc9lLEfZTKijA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -30,6 +30,12 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
disabledTests = [
# mypy_main(None, text_io, text_io, [__file__], clean_exit=True)
# TypeError: main() takes at most 4 arguments (5 given)
"test_type_hints"
];
pythonImportsCheck = [ "dataclasses_json" ]; pythonImportsCheck = [ "dataclasses_json" ];
meta = with lib; { meta = with lib; {

View file

@ -6,11 +6,12 @@
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dbus-fast"; pname = "dbus-fast";
version = "1.17.0"; version = "1.24.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,11 +20,12 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-HbjeO+imWocc5bL62gdWHf8kBR6HNWwEu+KqO4ldHe4="; hash = "sha256-2bQwq5qjvtM+HTIJpEzH+Xaq42LTixqnX/zRRZV9lgA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
poetry-core poetry-core
setuptools
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -37,8 +39,7 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace " --cov=dbus_fast --cov-report=term-missing:skip-covered" "" \ --replace " --cov=dbus_fast --cov-report=term-missing:skip-covered" ""
--replace "[tool.poetry.group.dev.dependencies]" ""
''; '';
pythonImportsCheck = [ pythonImportsCheck = [

View file

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fritzconnection"; pname = "fritzconnection";
version = "1.9.1"; version = "1.10.3";
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-wapZ4lCG0tfE+LbFVeIxVlbMJN/sSwIeYK5GLCqoWLs="; sha256 = "sha256-eRvo40VXgo+SQGeh88vRfHPnbrsVDyz03ToIgwRc43Q=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "plugwise"; pname = "plugwise";
version = "0.23.0"; version = "0.24.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = pname; owner = pname;
repo = "python-plugwise"; repo = "python-plugwise";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-nLJLp5LnsluZe/pzLvycvjPmPYXGGobZaS5kI70CVa8="; sha256 = "sha256-WoXBUUe/2XX+CgoZB1o2sj2FIoWS6ECikJWrUSreJUY=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zha-quirks"; pname = "zha-quirks";
version = "0.0.80"; version = "0.0.82";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "zigpy"; owner = "zigpy";
repo = "zha-device-handlers"; repo = "zha-device-handlers";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-tmXOkOUW2d3Kntx1wgzN3J4l5jrSfz2q9YT1gfHjtro="; hash = "sha256-2pm0fLPw/ROjYwvaL1wyZ39ZAbAjwc1TPsbYsO0+vcI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zigpy-deconz"; pname = "zigpy-deconz";
version = "0.18.1"; version = "0.19.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "zigpy"; owner = "zigpy";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-in40vbSupz0DhYZQYkGo5nUBt8sEwJ15wZCMVq4YRbA="; hash = "sha256-HYLL+1o133Is40wVCPJoUGZO1B/43p+V8K2rJ/mdMFQ=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zigpy-xbee"; pname = "zigpy-xbee";
version = "0.15.0"; version = "0.16.0";
# https://github.com/Martiusweb/asynctest/issues/152 # https://github.com/Martiusweb/asynctest/issues/152
# broken by upstream python bug with asynctest and # broken by upstream python bug with asynctest and
# is used exclusively by home-assistant with python 3.8 # is used exclusively by home-assistant with python 3.8
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "zigpy"; owner = "zigpy";
repo = "zigpy-xbee"; repo = "zigpy-xbee";
rev = version; rev = version;
sha256 = "sha256-NT7d5JWaVZOrk32uYh0z0sI9RA4eJYYIa2D/Ei81KjY="; sha256 = "sha256-0Eg+XaMDEB3Zh0Ksn8Nsaf7AYdhRqzpscuZIz19DxCI=";
}; };
buildInputs = [ buildInputs = [

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zigpy-zigate"; pname = "zigpy-zigate";
version = "0.9.2"; version = "0.10.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -22,8 +22,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zigpy"; owner = "zigpy";
repo = "zigpy-zigate"; repo = "zigpy-zigate";
rev = "refs/tags/${version}"; rev = "refs/tags/v${version}";
hash = "sha256-89e9QkFxBdw5YujL73zR7jys0sCJz5r/jNaVmLxv37g="; hash = "sha256-JcKmLD3ET17PaNm1DoAV8TDMw88Qd5okDPOStLUqASM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -18,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zigpy-znp"; pname = "zigpy-znp";
version = "0.8.2"; version = "0.9.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "zigpy"; owner = "zigpy";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-90D8MP8p0zFvmxtWXxfPzLuRACeVk4vGdUYxh6cZb08="; sha256 = "sha256-GvGWda+vsDwJrRIjc3hkl9zMrJ/cj2HGvHSeCROE69g=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -8,7 +8,8 @@
, freezegun , freezegun
, fetchFromGitHub , fetchFromGitHub
, pycryptodome , pycryptodome
, pytest-aiohttp , pyserial-asyncio
, pytest-asyncio
, pytest-timeout , pytest-timeout
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -17,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zigpy"; pname = "zigpy";
version = "0.50.3"; version = "0.51.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -26,7 +27,7 @@ buildPythonPackage rec {
owner = "zigpy"; owner = "zigpy";
repo = "zigpy"; repo = "zigpy";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Od5BEi5Cu1Gzd4ZkPc2lfmsEZoqsxqiUKqZ2vkW/8sE="; hash = "sha256-6JHj75ntbW3Pu4P6/nw0/xhZ+fZCfpNCzB1ZB7WJ0jY=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -34,17 +35,17 @@ buildPythonPackage rec {
aiosqlite aiosqlite
crccheck crccheck
cryptography cryptography
pyserial-asyncio
pycryptodome pycryptodome
voluptuous voluptuous
]; ];
checkInputs = [ checkInputs = [
asynctest
freezegun freezegun
pytest-aiohttp pytest-asyncio
pytest-timeout pytest-timeout
pytestCheckHook pytestCheckHook
] ++ lib.optionals (pythonOlder "3.8") [
asynctest
]; ];
pythonImportsCheck = [ pythonImportsCheck = [

View file

@ -10,16 +10,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zwave-js-server-python"; pname = "zwave-js-server-python";
version = "0.41.1"; version = "0.43.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-V4QEsHkakqYsZ09Q8BJG9fhREdGboirF5sNxm8t+dAQ="; hash = "sha256-qzAM3vcVySJB6OfOHKXYYXDR+xOSbGpyH7b9TaYkOLM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2022.9.7"; version = "2022.10.0";
components = { components = {
"abode" = ps: with ps; [ "abode" = ps: with ps; [
abodepy abodepy
@ -84,9 +84,6 @@
"amazon_polly" = ps: with ps; [ "amazon_polly" = ps: with ps; [
boto3 boto3
]; ];
"ambee" = ps: with ps; [
ambee
];
"amberelectric" = ps: with ps; [ "amberelectric" = ps: with ps; [
amberelectric amberelectric
]; ];
@ -197,8 +194,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
yalexs-ble yalexs-ble
yalexs yalexs
]; ];
@ -292,8 +293,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"blueprint" = ps: with ps; [ "blueprint" = ps: with ps; [
]; ];
@ -307,8 +312,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"bluetooth_le_tracker" = ps: with ps; [ "bluetooth_le_tracker" = ps: with ps; [
aiohttp-cors aiohttp-cors
@ -317,8 +326,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"bluetooth_tracker" = ps: with ps; [ "bluetooth_tracker" = ps: with ps; [
bt-proximity bt-proximity
@ -368,8 +381,12 @@
bluetooth-auto-recovery bluetooth-auto-recovery
bthome-ble bthome-ble
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"buienradar" = ps: with ps; [ "buienradar" = ps: with ps; [
buienradar buienradar
@ -429,10 +446,6 @@
]; ];
"clicksend_tts" = ps: with ps; [ "clicksend_tts" = ps: with ps; [
]; ];
"climacell" = ps: with ps; [
pyclimacell
pytomorrowio
];
"climate" = ps: with ps; [ "climate" = ps: with ps; [
]; ];
"cloud" = ps: with ps; [ "cloud" = ps: with ps; [
@ -801,8 +814,12 @@
bluetooth-auto-recovery bluetooth-auto-recovery
construct construct
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; # missing inputs: python-eq3bt ]; # missing inputs: python-eq3bt
"escea" = ps: with ps; [ "escea" = ps: with ps; [
pescea pescea
@ -815,9 +832,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
ifaddr ifaddr
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
zeroconf zeroconf
]; ];
"etherscan" = ps: with ps; [ "etherscan" = ps: with ps; [
@ -910,8 +931,12 @@
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fjaraskupan fjaraskupan
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"fleetgo" = ps: with ps; [ "fleetgo" = ps: with ps; [
ritassist ritassist
@ -936,9 +961,6 @@
"flume" = ps: with ps; [ "flume" = ps: with ps; [
pyflume pyflume
]; ];
"flunearyou" = ps: with ps; [
pyflunearyou
];
"flux" = ps: with ps; [ "flux" = ps: with ps; [
]; ];
"flux_led" = ps: with ps; [ "flux_led" = ps: with ps; [
@ -958,6 +980,8 @@
forecast-solar forecast-solar
]; ];
"forked_daapd" = ps: with ps; [ "forked_daapd" = ps: with ps; [
aiohttp-cors
spotipy
]; # missing inputs: pyforked-daapd pylibrespot-java ]; # missing inputs: pyforked-daapd pylibrespot-java
"fortios" = ps: with ps; [ "fortios" = ps: with ps; [
fortiosapi fortiosapi
@ -1097,6 +1121,10 @@
"google_pubsub" = ps: with ps; [ "google_pubsub" = ps: with ps; [
google-cloud-pubsub google-cloud-pubsub
]; ];
"google_sheets" = ps: with ps; [
aiohttp-cors
gspread
];
"google_translate" = ps: with ps; [ "google_translate" = ps: with ps; [
gtts gtts
]; ];
@ -1112,9 +1140,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
govee-ble govee-ble
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"gpsd" = ps: with ps; [ "gpsd" = ps: with ps; [
gps3 gps3
@ -1262,9 +1294,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
ifaddr ifaddr
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
zeroconf zeroconf
]; ];
"homematic" = ps: with ps; [ "homematic" = ps: with ps; [
@ -1303,8 +1339,7 @@
aiohue aiohue
]; ];
"huisbaasje" = ps: with ps; [ "huisbaasje" = ps: with ps; [
huisbaasje-client ]; # missing inputs: energyflip-client
];
"humidifier" = ps: with ps; [ "humidifier" = ps: with ps; [
]; ];
"hunterdouglas_powerview" = ps: with ps; [ "hunterdouglas_powerview" = ps: with ps; [
@ -1327,6 +1362,21 @@
"iaqualink" = ps: with ps; [ "iaqualink" = ps: with ps; [
iaqualink iaqualink
]; ];
"ibeacon" = ps: with ps; [
aiohttp-cors
bleak-retry-connector
bleak
bluetooth-adapters
bluetooth-auto-recovery
dbus-fast
fnvhash
home-assistant-frontend
ibeacon-ble
pillow
pyserial
pyudev
sqlalchemy
];
"icloud" = ps: with ps; [ "icloud" = ps: with ps; [
pyicloud pyicloud
]; ];
@ -1371,9 +1421,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
inkbird-ble inkbird-ble
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"input_boolean" = ps: with ps; [ "input_boolean" = ps: with ps; [
]; ];
@ -1477,12 +1531,42 @@
aiokef aiokef
getmac getmac
]; ];
"kegtron" = ps: with ps; [
aiohttp-cors
bleak-retry-connector
bleak
bluetooth-adapters
bluetooth-auto-recovery
dbus-fast
fnvhash
home-assistant-frontend
kegtron-ble
pillow
pyserial
pyudev
sqlalchemy
];
"keyboard" = ps: with ps; [ "keyboard" = ps: with ps; [
]; # missing inputs: pyuserinput ]; # missing inputs: pyuserinput
"keyboard_remote" = ps: with ps; [ "keyboard_remote" = ps: with ps; [
aionotify aionotify
evdev evdev
]; ];
"keymitt_ble" = ps: with ps; [
pymicrobot
aiohttp-cors
bleak-retry-connector
bleak
bluetooth-adapters
bluetooth-auto-recovery
dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial
pyudev
sqlalchemy
];
"kira" = ps: with ps; [ "kira" = ps: with ps; [
pykira pykira
]; ];
@ -1546,9 +1630,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
led-ble led-ble
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"lg_netcast" = ps: with ps; [ "lg_netcast" = ps: with ps; [
pylgnetcast pylgnetcast
@ -1556,6 +1644,9 @@
"lg_soundbar" = ps: with ps; [ "lg_soundbar" = ps: with ps; [
temescal temescal
]; ];
"lidarr" = ps: with ps; [
aiopyarr
];
"life360" = ps: with ps; [ "life360" = ps: with ps; [
life360 life360
]; ];
@ -1713,8 +1804,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; # missing inputs: melnor-bluetooth ]; # missing inputs: melnor-bluetooth
"meraki" = ps: with ps; [ "meraki" = ps: with ps; [
aiohttp-cors aiohttp-cors
@ -1786,9 +1881,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
moat-ble moat-ble
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"mobile_app" = ps: with ps; [ "mobile_app" = ps: with ps; [
pynacl pynacl
@ -1953,6 +2052,9 @@
]; ];
"nfandroidtv" = ps: with ps; [ "nfandroidtv" = ps: with ps; [
]; # missing inputs: notifications-android-tv ]; # missing inputs: notifications-android-tv
"nibe_heatpump" = ps: with ps; [
tenacity
]; # missing inputs: nibe
"nightscout" = ps: with ps; [ "nightscout" = ps: with ps; [
py-nightscout py-nightscout
]; ];
@ -1980,6 +2082,9 @@
]; ];
"noaa_tides" = ps: with ps; [ "noaa_tides" = ps: with ps; [
]; # missing inputs: noaa-coops ]; # missing inputs: noaa-coops
"nobo_hub" = ps: with ps; [
pynobo
];
"norway_air" = ps: with ps; [ "norway_air" = ps: with ps; [
pymetno pymetno
]; ];
@ -2291,9 +2396,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
qingping-ble qingping-ble
sqlalchemy
]; ];
"qld_bushfire" = ps: with ps; [ "qld_bushfire" = ps: with ps; [
georss-qld-bushfire-alert-client georss-qld-bushfire-alert-client
@ -2323,6 +2432,7 @@
rachiopy rachiopy
]; ];
"radarr" = ps: with ps; [ "radarr" = ps: with ps; [
aiopyarr
]; ];
"radio_browser" = ps: with ps; [ "radio_browser" = ps: with ps; [
radios radios
@ -2541,9 +2651,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sensorpro-ble sensorpro-ble
sqlalchemy
]; ];
"sensorpush" = ps: with ps; [ "sensorpush" = ps: with ps; [
aiohttp-cors aiohttp-cors
@ -2552,9 +2666,13 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sensorpush-ble sensorpush-ble
sqlalchemy
]; ];
"sentry" = ps: with ps; [ "sentry" = ps: with ps; [
sentry-sdk sentry-sdk
@ -2823,6 +2941,8 @@
]; ];
"switch_as_x" = ps: with ps; [ "switch_as_x" = ps: with ps; [
]; ];
"switchbee" = ps: with ps; [
]; # missing inputs: pyswitchbee
"switchbot" = ps: with ps; [ "switchbot" = ps: with ps; [
pyswitchbot pyswitchbot
aiohttp-cors aiohttp-cors
@ -2831,8 +2951,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
]; ];
"switcher_kis" = ps: with ps; [ "switcher_kis" = ps: with ps; [
aioswitcher aioswitcher
@ -2937,8 +3061,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
thermobeacon-ble thermobeacon-ble
]; ];
"thermopro" = ps: with ps; [ "thermopro" = ps: with ps; [
@ -2948,8 +3076,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
thermopro-ble thermopro-ble
]; ];
"thermoworks_smoke" = ps: with ps; [ "thermoworks_smoke" = ps: with ps; [
@ -2975,6 +3107,21 @@
"tile" = ps: with ps; [ "tile" = ps: with ps; [
pytile pytile
]; ];
"tilt_ble" = ps: with ps; [
aiohttp-cors
bleak-retry-connector
bleak
bluetooth-adapters
bluetooth-auto-recovery
dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial
pyudev
sqlalchemy
tilt-ble
];
"time_date" = ps: with ps; [ "time_date" = ps: with ps; [
]; ];
"timer" = ps: with ps; [ "timer" = ps: with ps; [
@ -3136,8 +3283,6 @@
pyserial pyserial
pyudev pyudev
]; ];
"uscis" = ps: with ps; [
]; # missing inputs: uscisstatus
"usgs_earthquakes_feed" = ps: with ps; [ "usgs_earthquakes_feed" = ps: with ps; [
aio-geojson-usgs-earthquakes aio-geojson-usgs-earthquakes
]; ];
@ -3329,8 +3474,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
xiaomi-ble xiaomi-ble
]; ];
"xiaomi_miio" = ps: with ps; [ "xiaomi_miio" = ps: with ps; [
@ -3356,8 +3505,12 @@
bluetooth-adapters bluetooth-adapters
bluetooth-auto-recovery bluetooth-auto-recovery
dbus-fast dbus-fast
fnvhash
home-assistant-frontend
pillow
pyserial pyserial
pyudev pyudev
sqlalchemy
yalexs-ble yalexs-ble
]; ];
"yamaha" = ps: with ps; [ "yamaha" = ps: with ps; [
@ -3481,7 +3634,6 @@
"alert" "alert"
"alexa" "alexa"
"almond" "almond"
"ambee"
"amberelectric" "amberelectric"
"ambiclimate" "ambiclimate"
"ambient_station" "ambient_station"
@ -3489,6 +3641,7 @@
"android_ip_webcam" "android_ip_webcam"
"androidtv" "androidtv"
"apache_kafka" "apache_kafka"
"apcupsd"
"api" "api"
"apple_tv" "apple_tv"
"application_credentials" "application_credentials"
@ -3537,7 +3690,6 @@
"canary" "canary"
"cast" "cast"
"cert_expiry" "cert_expiry"
"climacell"
"climate" "climate"
"cloud" "cloud"
"cloudflare" "cloudflare"
@ -3583,6 +3735,7 @@
"dnsip" "dnsip"
"doorbird" "doorbird"
"dsmr" "dsmr"
"dsmr_reader"
"dte_energy_bridge" "dte_energy_bridge"
"duckdns" "duckdns"
"dunehd" "dunehd"
@ -3632,7 +3785,6 @@
"flipr" "flipr"
"flo" "flo"
"flume" "flume"
"flunearyou"
"flux" "flux"
"flux_led" "flux_led"
"folder" "folder"
@ -3670,6 +3822,7 @@
"google_assistant" "google_assistant"
"google_domains" "google_domains"
"google_pubsub" "google_pubsub"
"google_sheets"
"google_translate" "google_translate"
"google_travel_time" "google_travel_time"
"google_wifi" "google_wifi"
@ -3712,13 +3865,13 @@
"http" "http"
"huawei_lte" "huawei_lte"
"hue" "hue"
"huisbaasje"
"humidifier" "humidifier"
"hunterdouglas_powerview" "hunterdouglas_powerview"
"hvv_departures" "hvv_departures"
"hyperion" "hyperion"
"ialarm" "ialarm"
"iaqualink" "iaqualink"
"ibeacon"
"icloud" "icloud"
"ifttt" "ifttt"
"ign_sismologia" "ign_sismologia"
@ -3751,6 +3904,8 @@
"juicenet" "juicenet"
"justnimbus" "justnimbus"
"keenetic_ndms2" "keenetic_ndms2"
"kegtron"
"keymitt_ble"
"kira" "kira"
"kmtronic" "kmtronic"
"knx" "knx"
@ -3765,6 +3920,7 @@
"lcn" "lcn"
"led_ble" "led_ble"
"lg_soundbar" "lg_soundbar"
"lidarr"
"life360" "life360"
"lifx" "lifx"
"light" "light"
@ -3843,6 +3999,7 @@
"nightscout" "nightscout"
"nina" "nina"
"no_ip" "no_ip"
"nobo_hub"
"notify" "notify"
"notify_events" "notify_events"
"notion" "notion"
@ -4036,6 +4193,7 @@
"threshold" "threshold"
"tibber" "tibber"
"tile" "tile"
"tilt_ble"
"time_date" "time_date"
"timer" "timer"
"tod" "tod"

View file

@ -56,28 +56,6 @@ let
}); });
}) })
(self: super: {
bleak = super.bleak.overridePythonAttrs (oldAttrs: rec {
version = "0.17.0";
src = fetchFromGitHub {
owner = "hbldh";
repo = "bleak";
rev = "refs/tags/v${version}";
hash = "sha256-AnH23AWrLw2jq6gSbx9VoGD8QXeCH5dN7FSVVdj4b3w=";
};
});
bleak-retry-connector = super.bleak-retry-connector.overridePythonAttrs (oldAttrs: rec {
version = "1.17.1";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = "bleak-retry-connector";
rev = "refs/tags/v${version}";
hash = "sha256-FoQ1cDORQaJcr6y9JaO4MigqV6jiBbwKNIIdYDgFNxQ=";
};
});
})
(self: super: { (self: super: {
blebox-uniapi = super.blebox-uniapi.overridePythonAttrs (oldAttrs: rec { blebox-uniapi = super.blebox-uniapi.overridePythonAttrs (oldAttrs: rec {
version = "2.0.2"; version = "2.0.2";
@ -90,19 +68,6 @@ let
}); });
}) })
(self: super: {
bluetooth-adapters = super.bluetooth-adapters.overridePythonAttrs (oldAttrs: rec {
version = "0.4.1";
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ super.dbus-fast ];
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = "bluetooth-adapters";
rev = "refs/tags/v${version}";
hash = "sha256-LAT4r6RHJWTkrZvuL1aSQDiztvXiOJwGmNQKGFnvFB8=";
};
});
})
(self: super: { (self: super: {
gridnet = super.gridnet.overridePythonAttrs (oldAttrs: rec { gridnet = super.gridnet.overridePythonAttrs (oldAttrs: rec {
version = "4.0.0"; version = "4.0.0";
@ -163,18 +128,6 @@ let
}); });
}) })
(self: super: {
plugwise = super.plugwise.overridePythonAttrs (oldAttrs: rec {
version = "0.20.1";
src = fetchFromGitHub {
owner = "plugwise";
repo = "python-plugwise";
rev = "refs/tags/v${version}";
hash = "sha256-Sk7L0JPwn7IXVl5GeERxrG/vrHXeNwUjW1mgm4g40Ng=";
};
});
})
# Pinned due to API changes in 0.1.0 # Pinned due to API changes in 0.1.0
(self: super: { (self: super: {
poolsense = super.poolsense.overridePythonAttrs (oldAttrs: rec { poolsense = super.poolsense.overridePythonAttrs (oldAttrs: rec {
@ -200,26 +153,12 @@ let
}); });
}) })
(self: super: {
pyatmo = super.pyatmo.overridePythonAttrs (oldAttrs: rec {
version = "6.2.4";
src = fetchFromGitHub {
owner = "jabesq";
repo = "pyatmo";
rev = "refs/tags/v${version}";
hash = "sha256-VXkQByaNA02fwBO2yuf7w1ZF/oJwd/h21de1EQlCu2U=";
};
checkInputs = [ super.freezegun ];
});
})
(self: super: { (self: super: {
pydeconz = super.pydeconz.overridePythonAttrs (oldAttrs: rec { pydeconz = super.pydeconz.overridePythonAttrs (oldAttrs: rec {
doCheck = false; # requires pytest-aiohttp>=1.0.0 doCheck = false; # requires pytest-aiohttp>=1.0.0
}); });
}) })
(self: super: { (self: super: {
python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec { python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec {
pname = "python-slugify"; pname = "python-slugify";
@ -243,17 +182,6 @@ let
}); });
}) })
(self: super: {
solax = super.solax.overridePythonAttrs (oldAttrs: rec {
version = "0.2.9";
src = super.fetchPypi {
pname = "solax";
inherit version;
hash = "sha256-5m2wxdTshAsEfldPAyXqAYYtH1VjqERRBUGzX6pV85I=";
};
});
})
(self: super: { (self: super: {
pysoma = super.pysoma.overridePythonAttrs (oldAttrs: rec { pysoma = super.pysoma.overridePythonAttrs (oldAttrs: rec {
version = "0.0.10"; version = "0.0.10";
@ -333,7 +261,7 @@ let
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs); extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
# Don't forget to run parse-requirements.py after updating # Don't forget to run parse-requirements.py after updating
hassVersion = "2022.9.7"; hassVersion = "2022.10.0";
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -351,7 +279,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = version; rev = version;
hash = "sha256-V6/y5HnJh8AVwkSg3uanYQRNvDcD1P0L+wBu98NpDek="; hash = "sha256-BTUuQ4qAP/O53P289ldYlMsLlaNek/FOeDYHwnjCwvE=";
}; };
# 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

View file

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here # the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend"; pname = "home-assistant-frontend";
version = "20220907.2"; version = "20221005.0";
format = "wheel"; format = "wheel";
src = fetchPypi { src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend"; pname = "home_assistant_frontend";
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
sha256 = "sha256-ykId53EMPRXmMmoS55ZtjF6UR/JVPtBXFqjwuK2E2F4="; sha256 = "sha256-Tc6MxUPEdL7jOyUwGm1H0c3w7HC15NZ1FGyp681GRYw=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package

View file

@ -13,12 +13,14 @@ let
config = [ pydispatcher ]; config = [ pydispatcher ];
generic = [ av ]; generic = [ av ];
google_translate = [ mutagen ]; google_translate = [ mutagen ];
google_sheets = [ oauth2client ];
homeassistant_sky_connect = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ]; homeassistant_sky_connect = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ];
homeassistant_yellow = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ]; homeassistant_yellow = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ];
lovelace = [ PyChromecast ]; lovelace = [ PyChromecast ];
nest = [ av ]; nest = [ av ];
onboarding = [ pymetno radios rpi-bad-power ]; onboarding = [ pymetno radios rpi-bad-power ];
raspberry_pi = [ rpi-bad-power ]; raspberry_pi = [ rpi-bad-power ];
tilt_ble = [ govee-ble ibeacon-ble ];
tomorrowio = [ pyclimacell ]; tomorrowio = [ pyclimacell ];
version = [ aioaseko ]; version = [ aioaseko ];
xiaomi_miio = [ arrow ]; xiaomi_miio = [ arrow ];