Merge pull request #185037 from mweinelt/home-assistant

This commit is contained in:
Martin Weinelt 2022-08-04 11:40:41 +02:00 committed by GitHub
commit 5f9b871b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 294 additions and 141 deletions

View file

@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals documentationSupport [
help2man
python3.pkgs.sphinx
python3.pkgs.sphinx_rtd_theme
python3.pkgs.sphinx-rtd-theme
] ++ lib.optional translationSupport gettext;
buildInputs = [

View file

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ makeWrapper removeReferencesTo pkg-config flex bison meson ninja perl python3 python3Packages.sphinx python3Packages.sphinx_rtd_theme ]
nativeBuildInputs = [ makeWrapper removeReferencesTo pkg-config flex bison meson ninja perl python3 python3Packages.sphinx python3Packages.sphinx-rtd-theme ]
++ lib.optionals gtkSupport [ wrapGAppsHook ]
++ lib.optionals stdenv.isDarwin [ sigtool ];

View file

@ -9,7 +9,7 @@
, recommonmark
, semantic-version
, sphinx
, sphinx_rtd_theme
, sphinx-rtd-theme
, pytest-runner
, setuptools-scm
, git
@ -57,7 +57,7 @@ buildPythonPackage rec {
# docs
recommonmark
sphinx
sphinx_rtd_theme
sphinx-rtd-theme
];
checkPhase = ''

View file

@ -32,7 +32,7 @@ let
env = python3.withPackages (pp: with pp; [
sphinx
recommonmark
sphinx_rtd_theme
sphinx-rtd-theme
]);
in
# Expose only the sphinx-build binary to avoid contaminating

View file

@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals (enableDocs || enableGI) [
doxygen
(python3.withPackages (ps: with ps;
lib.optionals enableDocs [ sphinx sphinx_rtd_theme breathe ] ++
lib.optionals enableDocs [ sphinx sphinx-rtd-theme breathe ] ++
lib.optionals enableGI [ lxml ]
))
];

View file

@ -2,10 +2,12 @@
, buildPythonPackage
, aiocoap
, bleak
, bleak-retry-connector
, chacha20poly1305-reuseable
, commentjson
, cryptography
, fetchFromGitHub
, orjson
, poetry-core
, pytest-aiohttp
, pytestCheckHook
@ -15,7 +17,7 @@
buildPythonPackage rec {
pname = "aiohomekit";
version = "1.1.0";
version = "1.2.3";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -24,7 +26,7 @@ buildPythonPackage rec {
owner = "Jc2k";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-tHCkWNWcEsxoznaB8nysEMSx8g6cceNFP+gVB2jqG9g=";
hash = "sha256-cO+XHdHyz6W6PAoLNgazA4CifBfpLqCQoz1KtpcEAmg=";
};
nativeBuildInputs = [
@ -34,9 +36,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiocoap
bleak
bleak-retry-connector
chacha20poly1305-reuseable
commentjson
cryptography
orjson
zeroconf
];

View file

@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "bellows";
version = "0.31.1";
version = "0.31.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "zigpy";
repo = "bellows";
rev = "refs/tags/${version}";
sha256 = "sha256-kjZL6N1VF3Rc26eB5fU1UEs9BEr4sfV4Hto6QdwqeqY=";
sha256 = "sha256-CAah1Yu3gbHcqHbTM1nXAVFqGKatdUNYt881sjsCD2o=";
};
propagatedBuildInputs = [

View file

@ -1,7 +1,9 @@
{ lib
, async-timeout
, bleak
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, pythonOlder
, pytest-asyncio
@ -9,8 +11,8 @@
buildPythonPackage rec {
pname = "bleak-retry-connector";
version = "1.1.0";
format = "setuptools";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -18,10 +20,15 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices";
repo = pname;
rev = "v${version}";
hash = "sha256-3d66Kp4bz+ZhiC4ZVJscI5nE+qJdsIaefrC4SM0wGP4=";
hash = "sha256-nFlh+/6aDHNntHDxdkE2413ZLM7Z84lcn7xFKWdJ/U8=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
async-timeout
bleak
];

View file

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "bleak";
version = "0.14.3";
version = "0.15.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-dg5bsegECH92JXa5uVY9Y7R9UhsWUpiOKMPLXmS2GZA=";
hash = "sha256-qth0iBPbY7tgSCD/0rU3CgbJwCckoN7Fb7g1EAdPzjk=";
};
propagatedBuildInputs = [

View file

@ -0,0 +1,65 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, async-timeout
, dbus-next
, myst-parser
, pytestCheckHook
, sphinxHook
, sphinx-rtd-theme
}:
buildPythonPackage rec {
pname = "bluetooth-adapters";
version = "0.1.3";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-c96HgcmyiDwvcq8OsZ5s65VmAihz6KtCviP2h6Iu1Fo=";
};
postPatch = ''
# Drop pytest arguments (coverage, ...)
sed -i '/addopts/d' pyproject.toml
'';
outputs = [
"out"
"doc"
];
nativeBuildInputs = [
myst-parser
poetry-core
sphinx-rtd-theme
sphinxHook
];
propagatedBuildInputs = [
async-timeout
dbus-next
];
pythonImportsCheck = [
"bluetooth_adapters"
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
changelog = "https://github.com/bluetooth-devices/bluetooth-adapters/blob/main/CHANGELOG.md";
description = "Tools to enumerate and find Bluetooth Adapters";
homepage = "https://bluetooth-adapters.readthedocs.io/";
license = licenses.asl20;
maintainers = teams.home-assistant.members;
};
}

View file

@ -2,6 +2,7 @@
, attrs
, buildPythonPackage
, fetchFromGitHub
, exceptiongroup
, hypothesis
, immutables
, motor
@ -37,6 +38,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
attrs
] ++ lib.optionals (pythonOlder "3.11") [
exceptiongroup
] ++ lib.optionals (pythonOlder "3.7") [
typing-extensions
];

View file

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, poetry-core
, bleak
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "home-assistant-bluetooth";
version = "1.4.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-viJOrmvrooHh47yyJJomOGBhQvcoWM3jKMRwZ+6/UJ8=";
};
postPatch = ''
# drop pytest parametrization (coverage, etc.)
sed -i '/addopts/d' pyproject.toml
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
bleak
];
pythonImportsCheck = [
"home_assistant_bluetooth"
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Basic bluetooth models used by Home Assistant";
changelog = "https://github.com/home-assistant-libs/home-assistant-bluetooth/blob/main/CHANGELOG.md";
homepage = "https://github.com/home-assistant-libs/home-assistant-bluetooth";
license = licenses.asl20;
maintainers = teams.home-assistant.members;
};
}

View file

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "idasen";
version = "0.8.3";
version = "0.9.0";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "newAM";
repo = "idasen";
rev = "v${version}";
hash = "sha256-tjA7qgU3JYvwSdDH+aWrmKBX1Q9J5/UT7KjiTBxvKAE=";
hash = "sha256-7Tg+/3BXRmzG39jIC281MKxyJyf9e9/1uOqUji08B3U=";
};
nativeBuildInputs = [

View file

@ -3,7 +3,7 @@
, lib
, numpy
, opencv3
, sphinx_rtd_theme
, sphinx-rtd-theme
, lxml
, xmljson
}:
@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
opencv3
sphinx_rtd_theme
sphinx-rtd-theme
lxml
xmljson
];

View file

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "meteoalertapi";
version = "0.2.0";
version = "0.3.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rolfberkenbosch";
repo = "meteoalert-api";
rev = "v${version}";
sha256 = "sha256-EdHqWEkE/uUtz/xjV4k4NvNvtPPU4sJjHGwUM7J+HWs=";
sha256 = "sha256-uB2nza9fj7vOWixL4WEQX1N3i2Y80zQPM3x1+gRtg+w=";
};
propagatedBuildInputs = [

View file

@ -6,7 +6,7 @@
# docs
, python
, sphinx
, sphinx_rtd_theme
, sphinx-rtd-theme
# tests
, hypothesis
@ -29,7 +29,7 @@ buildPythonPackage rec {
nativeBuildInputs = [
sphinx
sphinx_rtd_theme
sphinx-rtd-theme
];
postInstall = ''

View file

@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "pyatv";
version = "0.10.2";
version = "0.10.3";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "postlund";
repo = pname;
rev = "v${version}";
sha256 = "sha256-70bimFWsby2x8wBRH5CZgg9Xjw8n+xfhW07rOG9Pk0s=";
sha256 = "sha256-ng5KfW93p2/N2a6lnGbRJC6aWOQgTl0imBLdUIUlDic=";
};
postPatch = ''

View file

@ -6,7 +6,7 @@
, mock
, pytestCheckHook
, pythonOlder
, sphinx_rtd_theme
, sphinx-rtd-theme
}:
buildPythonPackage rec {
@ -26,7 +26,7 @@ buildPythonPackage rec {
checkInputs = [
invoke
mock
sphinx_rtd_theme
sphinx-rtd-theme
pytestCheckHook
];

View file

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "pydeconz";
version = "100";
version = "101";
format = "setuptools";
disabled = pythonOlder "3.9";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "Kane610";
repo = "deconz";
rev = "refs/tags/v${version}";
hash = "sha256-8wgvwYSGijxHB+CABHr+jnW87EnJE/67wrJqZgJk0mA=";
hash = "sha256-U9jdKKT6RtvdJlWTwuUby0q7Qxa3mWUds8HQvsME9R4=";
};
propagatedBuildInputs = [

View file

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "pyrisco";
version = "0.3.1";
version = "0.5.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "OnFreund";
repo = pname;
rev = "v${version}";
sha256 = "1im29h4rxnp98aqzgzjj5i8jv2h5zw9c5yx8xxzl4cmr3yila9zw";
sha256 = "sha256-2v5fkawGy20vmKu/Fz29jnxmcpMl4HGNTNE9r2p6zDc=";
};
propagatedBuildInputs = [ aiohttp ];

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "pyswitchbot";
version = "0.15.2";
version = "0.17.3";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "Danielhiversen";
repo = "pySwitchbot";
rev = "refs/tags/${version}";
hash = "sha256-JoHFDFJcltgNrP3faFfyTV7D15h8YTyojWEUcrREeGU=";
hash = "sha256-vyfIt9Tkl6jpO//xizraqBwwwGmuJjkFGU3TzN3dqhQ=";
};
propagatedBuildInputs = [

View file

@ -10,6 +10,7 @@
, defusedxml
, fetchPypi
, importlib-metadata
, micloud
, netifaces
, poetry-core
, pytest-mock
@ -24,14 +25,14 @@
buildPythonPackage rec {
pname = "python-miio";
version = "0.5.11";
version = "0.5.12";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1hC7yE/hGLx9g3NXqU45yC/6dcW6/0oZwgYW5bj/37c=";
hash = "sha256-BJw1Gg3FO2R6WWKjkrpxDN4fTMTug5AIj0SNq1gEbBY=";
};
nativeBuildInputs = [
@ -47,6 +48,7 @@ buildPythonPackage rec {
croniter
cryptography
defusedxml
micloud
netifaces
pytz
pyyaml

View file

@ -3,6 +3,8 @@
, aresponses
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pydantic
, pytestCheckHook
, pytest-asyncio
, pythonOlder
@ -10,8 +12,8 @@
buildPythonPackage rec {
pname = "pytraccar";
version = "0.10.1";
format = "setuptools";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -19,11 +21,16 @@ buildPythonPackage rec {
owner = "ludeeus";
repo = pname;
rev = version;
sha256 = "sha256-fqf7sckvq5GebgpDVVSgwHISu4/wntjc/WF9LFlXN2w=";
sha256 = "sha256-ngyLe6sbTTQ7n4WdV06OlQnn/vqkD+JUruyMYS1Ym+Q=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
pydantic
];
checkInputs = [
@ -32,10 +39,14 @@ buildPythonPackage rec {
pytest-asyncio
];
pytestFlagsArray = [
"--asyncio-mode=legacy"
];
postPatch = ''
# Upstream doesn't set version in the repo
substituteInPlace setup.py \
--replace 'version="master",' 'version="${version}",'
substituteInPlace pyproject.toml \
--replace 'version = "0"' 'version = "${version}"'
'';
pythonImportsCheck = [

View file

@ -8,11 +8,12 @@
}:
buildPythonPackage rec {
pname = "sphinx_rtd_theme";
pname = "sphinx-rtd-theme";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
pname = "sphinx_rtd_theme";
inherit version;
sha256 = "0p3abj91c3l72ajj5jwblscsdf1jflrnn0djx2h5y6f2wjbx9ipf";
};

View file

@ -50,12 +50,13 @@ buildPythonPackage rec {
# likely related to https://github.com/sarugaku/shellingham/issues/35
"test_show_completion"
"test_install_completion"
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
"test_install_completion"
];
pythonImportsCheck = [ "typer" ];
meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64);
description = "Python library for building CLI applications";
homepage = "https://typer.tiangolo.com/";
license = licenses.mit;

View file

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "xknx";
version = "0.21.5";
version = "0.22.1";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "XKNX";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-rtR77b4/cgDA6rf/Q+ecuKI5bl7N4YMim8TeQ7ovKhI=";
sha256 = "sha256-CQX6dd/taVyqLKMzhFJxmYjbpZQIHYD+Nps1WyGqqnw=";
};
propagatedBuildInputs = [

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.77";
version = "0.0.78";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha-device-handlers";
rev = "refs/tags/${version}";
hash = "sha256-z/DLMTN0VsKore4crzbyvMhyG7O4bicC9XPbeGNf74M=";
hash = "sha256-S54reJhzvDMOC5+N/WZ8bz8XNXH/91jAAy8gCq90MvQ=";
};
propagatedBuildInputs = [

View file

@ -31,7 +31,7 @@ let
doCheck = false;
};
sphinx_rtd_theme = prev.sphinx_rtd_theme.override {
sphinx-rtd-theme = prev.sphinx-rtd-theme.override {
inherit sphinx;
docutils = docutils_old;
};
@ -59,7 +59,7 @@ stdenv.mkDerivation {
imagemagick
perl
py.pkgs.sphinx
py.pkgs.sphinx_rtd_theme
py.pkgs.sphinx-rtd-theme
which
];

View file

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2022.7.7";
version = "2022.8.0";
components = {
"abode" = ps: with ps; [
abodepy
@ -85,6 +85,7 @@
boto3
];
"ambee" = ps: with ps; [
aiohttp-cors
ambee
];
"amberelectric" = ps: with ps; [
@ -107,7 +108,6 @@
"analytics" = ps: with ps; [
aiohttp-cors
fnvhash
lru-dict
sqlalchemy
];
"android_ip_webcam" = ps: with ps; [
@ -124,6 +124,7 @@
"anel_pwrctrl" = ps: with ps; [
]; # missing inputs: anel_pwrctrl-homeassistant
"anthemav" = ps: with ps; [
aiohttp-cors
]; # missing inputs: anthemav
"apache_kafka" = ps: with ps; [
aiokafka
@ -281,10 +282,16 @@
"bluesound" = ps: with ps; [
xmltodict
];
"bluetooth" = ps: with ps; [
aiohttp-cors
bleak
bluetooth-adapters
];
"bluetooth_le_tracker" = ps: with ps; [
pygatt
]
++ pygatt.optional-dependencies.GATTTOOL;
aiohttp-cors
bleak
bluetooth-adapters
];
"bluetooth_tracker" = ps: with ps; [
bt-proximity
pybluez
@ -489,11 +496,12 @@
aiodiscover
aiohttp-cors
async-upnp-client
bleak
bluetooth-adapters
fnvhash
hass-nabucasa
home-assistant-frontend
ifaddr
lru-dict
pillow
pyserial
pyudev
@ -510,7 +518,6 @@
"demo" = ps: with ps; [
aiohttp-cors
fnvhash
lru-dict
sqlalchemy
];
"denon" = ps: with ps; [
@ -711,7 +718,6 @@
"energy" = ps: with ps; [
aiohttp-cors
fnvhash
lru-dict
sqlalchemy
];
"enigma2" = ps: with ps; [
@ -741,6 +747,9 @@
"epsonworkforce" = ps: with ps; [
]; # missing inputs: epsonprinter
"eq3btsmart" = ps: with ps; [
aiohttp-cors
bleak
bluetooth-adapters
construct
]; # missing inputs: python-eq3bt
"esphome" = ps: with ps; [
@ -807,7 +816,6 @@
];
"filter" = ps: with ps; [
fnvhash
lru-dict
sqlalchemy
];
"fints" = ps: with ps; [
@ -830,6 +838,9 @@
fixerio
];
"fjaraskupan" = ps: with ps; [
aiohttp-cors
bleak
bluetooth-adapters
fjaraskupan
];
"fleetgo" = ps: with ps; [
@ -916,7 +927,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -944,7 +954,6 @@
];
"generic_thermostat" = ps: with ps; [
fnvhash
lru-dict
sqlalchemy
];
"geniushub" = ps: with ps; [
@ -1024,6 +1033,11 @@
];
"google_wifi" = ps: with ps; [
];
"govee_ble" = ps: with ps; [
aiohttp-cors
bleak
bluetooth-adapters
]; # missing inputs: govee-ble
"gpsd" = ps: with ps; [
gps3
];
@ -1063,7 +1077,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -1079,7 +1092,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -1109,12 +1121,10 @@
"history" = ps: with ps; [
aiohttp-cors
fnvhash
lru-dict
sqlalchemy
];
"history_stats" = ps: with ps; [
fnvhash
lru-dict
sqlalchemy
];
"hitron_coda" = ps: with ps; [
@ -1135,11 +1145,13 @@
];
"homeassistant" = ps: with ps; [
];
"homeassistant_alerts" = ps: with ps; [
aiohttp-cors
];
"homeassistant_yellow" = ps: with ps; [
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -1157,6 +1169,8 @@
"homekit_controller" = ps: with ps; [
aiohomekit
aiohttp-cors
bleak
bluetooth-adapters
ifaddr
zeroconf
];
@ -1257,6 +1271,11 @@
influxdb-client
influxdb
];
"inkbird" = ps: with ps; [
aiohttp-cors
bleak
bluetooth-adapters
]; # missing inputs: inkbird-ble
"input_boolean" = ps: with ps; [
];
"input_button" = ps: with ps; [
@ -1274,7 +1293,6 @@
fnvhash
home-assistant-frontend
insteon-frontend-home-assistant
lru-dict
pillow
pyinsteon
pyserial
@ -1428,7 +1446,7 @@
aiolifx
aiolifx-effects
ifaddr
];
]; # missing inputs: aiolifx-connection
"lifx_cloud" = ps: with ps; [
];
"light" = ps: with ps; [
@ -1471,7 +1489,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -1533,7 +1550,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -1613,8 +1629,8 @@
aiohttp-cors
];
"miflora" = ps: with ps; [
bluepy
]; # missing inputs: miflora
aiohttp-cors
];
"mikrotik" = ps: with ps; [
librouteros
];
@ -1633,9 +1649,15 @@
minio
];
"mitemp_bt" = ps: with ps; [
]; # missing inputs: mitemp_bt
aiohttp-cors
];
"mjpeg" = ps: with ps; [
];
"moat" = ps: with ps; [
aiohttp-cors
bleak
bluetooth-adapters
]; # missing inputs: moat-ble
"mobile_app" = ps: with ps; [
pynacl
pyturbojpeg
@ -1713,7 +1735,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -1795,6 +1816,8 @@
"nextcloud" = ps: with ps; [
nextcloudmonitor
];
"nextdns" = ps: with ps; [
]; # missing inputs: nextdns
"nfandroidtv" = ps: with ps; [
]; # missing inputs: notifications-android-tv
"nightscout" = ps: with ps; [
@ -1885,7 +1908,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -1913,6 +1935,7 @@
"openalpr_cloud" = ps: with ps; [
];
"openalpr_local" = ps: with ps; [
aiohttp-cors
];
"opencv" = ps: with ps; [
numpy
@ -1992,7 +2015,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -2000,7 +2022,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -2044,7 +2065,6 @@
];
"plant" = ps: with ps; [
fnvhash
lru-dict
sqlalchemy
];
"plex" = ps: with ps; [
@ -2162,6 +2182,7 @@
radios
];
"radiotherm" = ps: with ps; [
aiohttp-cors
radiotherm
];
"rainbird" = ps: with ps; [
@ -2183,7 +2204,6 @@
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -2197,7 +2217,6 @@
];
"recorder" = ps: with ps; [
fnvhash
lru-dict
sqlalchemy
];
"recswitch" = ps: with ps; [
@ -2218,6 +2237,9 @@
"renault" = ps: with ps; [
renault-api
];
"repairs" = ps: with ps; [
aiohttp-cors
];
"repetier" = ps: with ps; [
]; # missing inputs: pyrepetierng
"rest" = ps: with ps; [
@ -2232,6 +2254,9 @@
"rfxtrx" = ps: with ps; [
pyrfxtrx
];
"rhasspy" = ps: with ps; [
aiohttp-cors
];
"ridwell" = ps: with ps; [
aioridwell
];
@ -2298,7 +2323,6 @@
fnvhash
hass-nabucasa
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
@ -2359,9 +2383,13 @@
];
"sensor" = ps: with ps; [
fnvhash
lru-dict
sqlalchemy
];
"sensorpush" = ps: with ps; [
aiohttp-cors
bleak
bluetooth-adapters
]; # missing inputs: sensorpush-ble
"sentry" = ps: with ps; [
sentry-sdk
];
@ -2413,6 +2441,7 @@
pysignalclirestapi
];
"simplepush" = ps: with ps; [
aiohttp-cors
]; # missing inputs: simplepush
"simplisafe" = ps: with ps; [
simplisafe-python
@ -2528,9 +2557,7 @@
];
"soundtouch" = ps: with ps; [
aiohttp-cors
ifaddr
libsoundtouch
zeroconf
];
"spaceapi" = ps: with ps; [
aiohttp-cors
@ -2575,13 +2602,13 @@
];
"statistics" = ps: with ps; [
fnvhash
lru-dict
sqlalchemy
];
"statsd" = ps: with ps; [
statsd
];
"steam_online" = ps: with ps; [
aiohttp-cors
steamodd
];
"steamist" = ps: with ps; [
@ -2635,6 +2662,9 @@
];
"switchbot" = ps: with ps; [
pyswitchbot
aiohttp-cors
bleak
bluetooth-adapters
];
"switcher_kis" = ps: with ps; [
aioswitcher
@ -2745,7 +2775,6 @@
];
"tibber" = ps: with ps; [
fnvhash
lru-dict
pytibber
sqlalchemy
];
@ -2916,6 +2945,7 @@
pyudev
];
"uscis" = ps: with ps; [
aiohttp-cors
]; # missing inputs: uscisstatus
"usgs_earthquakes_feed" = ps: with ps; [
aio-geojson-usgs-earthquakes
@ -3101,6 +3131,11 @@
netdisco
zeroconf
];
"xiaomi_ble" = ps: with ps; [
aiohttp-cors
bleak
bluetooth-adapters
]; # missing inputs: xiaomi-ble
"xiaomi_miio" = ps: with ps; [
construct
micloud
@ -3177,7 +3212,6 @@
fnvhash
home-assistant-frontend
ifaddr
lru-dict
pillow
pyserial-asyncio
pyserial
@ -3274,6 +3308,7 @@
"blebox"
"blink"
"blueprint"
"bluetooth"
"bluetooth_le_tracker"
"bmw_connected_drive"
"bond"
@ -3448,6 +3483,7 @@
"home_connect"
"home_plus_control"
"homeassistant"
"homeassistant_alerts"
"homeassistant_yellow"
"homekit"
"homekit_controller"
@ -3601,7 +3637,6 @@
"onvif"
"open_meteo"
"openalpr_cloud"
"openalpr_local"
"openerz"
"opengarage"
"openhardwaremonitor"
@ -3656,10 +3691,12 @@
"reddit"
"remote"
"renault"
"repairs"
"rest"
"rest_command"
"rflink"
"rfxtrx"
"rhasspy"
"ridwell"
"ring"
"risco"

View file

@ -41,18 +41,6 @@ let
});
})
(self: super: {
aiohomekit = super.aiohomekit.overridePythonAttrs (oldAttrs: rec {
version = "0.7.20";
src = fetchFromGitHub {
owner = "Jc2k";
repo = "aiohomekit";
rev = "refs/tags/${version}";
hash = "sha256-g7N+CIBJCMnW4FjN502SahhSpPS1p7AXZvduteHu+Z4=";
};
});
})
(self: super: {
backoff = super.backoff.overridePythonAttrs (oldAttrs: rec {
version = "1.11.1";
@ -144,6 +132,18 @@ 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
(mkOverride "poolsense" "0.0.8" "sha256-17MHrYRmqkH+1QLtgq2d6zaRtqvb9ju9dvPt9gB2xCc=")
@ -173,18 +173,6 @@ let
});
})
(self: super: {
python-homewizard-energy = super.python-homewizard-energy.overridePythonAttrs (oldAttrs: rec {
version = "1.0.3";
src = fetchFromGitHub {
owner = "DCSBL";
repo = "python-homewizard-energy";
rev = "refs/tags/v${version}";
hash = "sha256-ioISqRFZZCojTJ/KYS8QUtoEpBNOPqY9lC9NFbZyh5A=";
};
});
})
# pyunifiprotect excludes pydantic==1.9.1
(self: super: {
pydantic = super.pydantic.overridePythonAttrs (oldAttrs: rec {
@ -198,18 +186,6 @@ let
});
})
(self: super: {
pydeconz = super.pydeconz.overridePythonAttrs (oldAttrs: rec {
version = "98";
src = fetchFromGitHub {
owner = "Kane610";
repo = "deconz";
rev = "refs/tags/v${version}";
hash = "sha256-hCJRoyDWDxrBrxs2g6mVh7MOe6UMd+S8+ftfWyzWgH8=";
};
});
})
(self: super: {
python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec {
pname = "python-slugify";
@ -281,18 +257,6 @@ let
});
})
(self: super: {
wled = super.wled.overridePythonAttrs (oldAttrs: rec {
version = "0.13.2";
src = fetchFromGitHub {
owner = "frenck";
repo = "python-wled";
rev = "refs/tags/v${version}";
hash = "sha256-Rv0jaKkN6jQ7oiv1cBYx4HAr7IqPm57jZFykXayp0T0=";
};
});
})
# home-assistant-frontend does not exist in python3.pkgs
(self: super: {
home-assistant-frontend = self.callPackage ./frontend.nix { };
@ -332,7 +296,7 @@ let
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
# Don't forget to run parse-requirements.py after updating
hassVersion = "2022.7.7";
hassVersion = "2022.8.0";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -350,7 +314,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = version;
hash = "sha256-OU6tPTBC53ogkynH6NrYiQCerPo8Fu0ZLHhNsY0emGs=";
hash = "sha256-nxSOl4K8XZWesv6o6O+YuJFrza0sEz9atiw+ZP9A5ww=";
};
# leave this in, so users don't have to constantly update their downstream patch handling
@ -368,6 +332,7 @@ in python.pkgs.buildPythonApplication rec {
"awesomeversion"
"bcrypt"
"cryptography"
"home-assistant-bluetooth"
"httpx"
"ifaddr"
"orjson"
@ -396,6 +361,7 @@ in python.pkgs.buildPythonApplication rec {
ciso8601
cryptography
httpx
home-assistant-bluetooth
ifaddr
jinja2
lru-dict

View file

@ -4,7 +4,7 @@ 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 = "20220707.1";
version = "20220802.0";
format = "wheel";
src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
sha256 = "sha256-nsQBMERX4DMm1s3jgDwUzWNnqP44S95AM3+RQ8MdCgI=";
sha256 = "sha256-vUK/apsaJLaR/i6I2EWPxyohps+EazOr9ZuBKoRcyCI=";
};
# there is nothing to strip in this package

View file

@ -61,7 +61,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [
appdirs beautifulsoup4 characteristic distro eliot fixtures foolscap future
html5lib magic-wormhole netifaces pyasn1 pycrypto pyutil pyyaml recommonmark
service-identity simplejson sphinx_rtd_theme testtools treq twisted zfec
service-identity simplejson sphinx-rtd-theme testtools treq twisted zfec
zope_interface
] ++ twisted.optional-dependencies.tls
++ twisted.optional-dependencies.conch;

View file

@ -175,6 +175,7 @@ mapAliases ({
smart_open = smart-open; # added 2021-03-14
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
SPARQLWrapper = sparqlwrapper;
sphinx_rtd_theme = sphinx-rtd-theme; # added 2022-08-03
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
SQLAlchemy-ImageAttach = throw "sqlalchemy-imageattach has been removed as it is incompatible with sqlalchemy 1.4 and unmaintained"; # added 2022-04-23

View file

@ -1347,6 +1347,8 @@ in {
bluepy-devices = callPackage ../development/python-modules/bluepy-devices { };
bluetooth-adapters = callPackage ../development/python-modules/bluetooth-adapters { };
blurhash = callPackage ../development/python-modules/blurhash { };
bme280spi = callPackage ../development/python-modules/bme280spi { };
@ -4056,6 +4058,8 @@ in {
holoviews = callPackage ../development/python-modules/holoviews { };
home-assistant-bluetooth = callPackage ../development/python-modules/home-assistant-bluetooth { };
homeassistant-pyozw = callPackage ../development/python-modules/homeassistant-pyozw { };
homeconnect = callPackage ../development/python-modules/homeconnect { };
@ -10148,7 +10152,7 @@ in {
sphinx_pypi_upload = callPackage ../development/python-modules/sphinx_pypi_upload { };
sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { };
sphinx-rtd-theme = callPackage ../development/python-modules/sphinx-rtd-theme { };
sphinx-serve = callPackage ../development/python-modules/sphinx-serve { };