Merge pull request #301957 from NixOS/home-assistant
home-assistant: 2024.3.3 -> 2024.4.0
This commit is contained in:
commit
011306aa1d
@ -26,6 +26,7 @@ let
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-IWTo/P9JRxBQlhtcH3JMJZZrwAA8EALF4dtHajWUc4w=";
|
||||
};
|
||||
doCheck = false; # no tests
|
||||
});
|
||||
|
||||
dataclasses-json = super.dataclasses-json.overridePythonAttrs (oldAttrs: rec {
|
||||
|
@ -2,6 +2,7 @@
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, mashumaro
|
||||
, poetry-core
|
||||
, pyjwt
|
||||
@ -14,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioautomower";
|
||||
version = "2024.3.3";
|
||||
version = "2024.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -23,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "Thomas55555";
|
||||
repo = "aioautomower";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ZJRc5nzp1P3X93PxGVB55VgN1HZ2kvn43LT2wYEPxSo=";
|
||||
hash = "sha256-W6aZdvg+EZKv0pmIaPOBaJaWipq3AENTVAVon/lFuI4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -44,6 +45,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
freezegun
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodhcpwatcher";
|
||||
version = "0.8.2";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = "aiodhcpwatcher";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-yvmCp8luR26yFYun/YY/tt+peaAL4nOR9cC6lpMiJhk=";
|
||||
hash = "sha256-0of+no92s9SEKG1tc9lFlWR8f5Jnf3C723goQViB6+A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
46
pkgs/development/python-modules/aionut/default.nix
Normal file
46
pkgs/development/python-modules/aionut/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aionut";
|
||||
version = "4.3.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = "aionut";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-QehVC/6RbWp8KnOuVtLFkK8/STTgHXkXmFbSmzu9z7w=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail " --cov=aionut --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aionut" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asyncio Network UPS Tools";
|
||||
homepage = "https://github.com/bdraco/aionut";
|
||||
changelog = "https://github.com/bdraco/aionut/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "axis";
|
||||
version = "58";
|
||||
version = "60";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "Kane610";
|
||||
repo = "axis";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-6Mxthf37PtJSWsi+Ok0zBezTJLPwVoc8S1ZdQE57BEI=";
|
||||
hash = "sha256-MBiifETNfWq3TYCGPETDreiMZsrUdb79QvTG5wbVMJU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, click-log
|
||||
@ -30,21 +31,23 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"setuptools-git-versioning<2"' "" \
|
||||
--replace 'dynamic = ["version"]' 'version = "${version}"'
|
||||
--replace-fail '"setuptools-git-versioning<2"' "" \
|
||||
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
click
|
||||
click-log
|
||||
pure-pcapy3
|
||||
pyserial-asyncio
|
||||
voluptuous
|
||||
zigpy
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
async-timeout
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@ -59,10 +62,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to implement EZSP for EmberZNet devices";
|
||||
mainProgram = "bellows";
|
||||
homepage = "https://github.com/zigpy/bellows";
|
||||
changelog = "https://github.com/zigpy/bellows/releases/tag/${version}";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ mvnetbiz ];
|
||||
mainProgram = "bellows";
|
||||
};
|
||||
}
|
||||
|
40
pkgs/development/python-modules/fyta-cli/default.nix
Normal file
40
pkgs/development/python-modules/fyta-cli/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fyta-cli";
|
||||
version = "0.3.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dontinelli";
|
||||
repo = "fyta_cli";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-DqJR8xzR9vBowztji39UtX7UYA8hK+QYKUygPA+v33k=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "fyta_cli" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to access the FYTA API";
|
||||
homepage = "https://github.com/dontinelli/fyta_cli";
|
||||
changelog = "https://github.com/dontinelli/fyta_cli/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyrisco";
|
||||
version = "0.5.10";
|
||||
version = "0.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "OnFreund";
|
||||
repo = "pyrisco";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-3wa6hayyjWdDVqbLPCqIZ4lgcy1/EdFH4ZVggSRizZU=";
|
||||
hash = "sha256-+qnwJzf4nKio4IJo7NNA19B3tbOd+jhnGryiRMcdi6o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-homewizard-energy";
|
||||
version = "4.3.1";
|
||||
version = "5.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "DCSBL";
|
||||
repo = "python-homewizard-energy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LpxXTzUb+N15lGno3pAhRSEJCb4NmwBcGQ/PshI9gYA=";
|
||||
hash = "sha256-z9JJHS7w/lugV23xJjWHBWVQp38J3CKtj4IuDvpPQJw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -1,20 +1,22 @@
|
||||
{ lib
|
||||
, amqtt
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, mashumaro
|
||||
, orjson
|
||||
, paho-mqtt
|
||||
, poetry-core
|
||||
, pydantic
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, tabulate
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "roombapy";
|
||||
version = "1.7.0";
|
||||
version = "1.8.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -23,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "pschmitt";
|
||||
repo = "roombapy";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vB6+cGqeHFthCbz4q75EwsHb8w1H2vPSaKdtvquh5Kc=";
|
||||
hash = "sha256-1yfmaTzZ7cZW2+Yb3Zbo8+5TfD+H1sA0+SzC1c9MdsQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -36,9 +38,14 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mashumaro
|
||||
orjson
|
||||
paho-mqtt
|
||||
pydantic
|
||||
];
|
||||
|
||||
optional-dependencies.cli = [
|
||||
click
|
||||
tabulate
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -9,16 +9,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tololib";
|
||||
version = "0.1.0b4";
|
||||
format = "setuptools";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "MatthiasLohr";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-2OQaJR70bx8qWs1IPErF+B3X1iRvHW74axTqtdvum3U=";
|
||||
repo = "tololib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-TxWKV2nrnCxZmj6+wBDMSdJRvKV+MsPFbOyIlUJYJ3Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -29,6 +29,10 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export PATH="$PATH:$out/bin";
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Test requires network access
|
||||
"test_discovery"
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
, setuptools-git-versioning
|
||||
|
||||
# dependencies
|
||||
, async-timeout
|
||||
@ -37,10 +36,18 @@ buildPythonPackage rec {
|
||||
hash = "sha256-VoO9B27CNY2Cnt/Q2HsU6DVYkukQMgbIHc6xqfN0P7w=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"setuptools-git-versioning<2"' "" \
|
||||
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-git-versioning
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vilfo-api-client";
|
||||
version = "0.4.1";
|
||||
version = "0.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ManneW";
|
||||
repo = "vilfo-api-client-python";
|
||||
rev = version;
|
||||
hash = "sha256-j06Bbv0hWSmrlCv8RfgvfGTyOF+vSX+zZnX3AvG5Hys=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ZlmriBd+M+54ux/UNYa355mkz808/NxSz7IzmWouA0c=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "whirlpool-sixth-sense";
|
||||
version = "0.18.5";
|
||||
version = "0.18.7";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "abmantis";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-0NJsZex054CWfKX2wyJRd6Cnxa89mNrZN59VqIV2MD8=";
|
||||
hash = "sha256-M4qOdxR97VhquB85IgimYKZqix2WoRIZcLSIlVK1xDY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -14,30 +14,30 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.131.0";
|
||||
format = "pyproject";
|
||||
version = "0.132.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jstasiak";
|
||||
repo = "python-zeroconf";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-l+uz+wj+tgptxEjEN8ZlmxH8I4Nhrg8qAY3yCcOgBfE=";
|
||||
hash = "sha256-eHB+SkJU5aTQPF7QqRhYHMBJgN7EYZkwtk7gjxWxIno=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "Cython>=3.0.5" "Cython"
|
||||
--replace-fail "Cython>=3.0.8" "Cython"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
cython_3
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
ifaddr
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
async-timeout
|
||||
@ -70,9 +70,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/python-zeroconf/python-zeroconf/releases/tag/${version}";
|
||||
description = "Python implementation of multicast DNS service discovery";
|
||||
homepage = "https://github.com/python-zeroconf/python-zeroconf";
|
||||
changelog = "https://github.com/python-zeroconf/python-zeroconf/releases/tag/${version}";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
|
@ -11,29 +11,29 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha-quirks";
|
||||
version = "0.0.112";
|
||||
version = "0.0.113";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zha-device-handlers";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-wI7mpX6oFV/RrxH/UP1X9Odago0CxJ5dhjKAsDS+Sq4=";
|
||||
hash = "sha256-Th0JF7sauDhFIZH7BY4STgJZ2o+zqQmtUqNLNeaB6As=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace ', "setuptools-git-versioning<2"' "" \
|
||||
--replace 'dynamic = ["version"]' 'version = "${version}"'
|
||||
--replace-fail ', "setuptools-git-versioning<2"' "" \
|
||||
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
zigpy
|
||||
];
|
||||
|
126
pkgs/development/python-modules/zha/default.nix
Normal file
126
pkgs/development/python-modules/zha/default.nix
Normal file
@ -0,0 +1,126 @@
|
||||
{ lib
|
||||
, awesomeversion
|
||||
, bellows
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, pyserial-asyncio-fast
|
||||
, pytest-asyncio
|
||||
, pytest-timeout
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, python-slugify
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, setuptools
|
||||
, universal-silabs-flasher
|
||||
, wheel
|
||||
, zha-quirks
|
||||
, zigpy
|
||||
, zigpy-deconz
|
||||
, zigpy-xbee
|
||||
, zigpy-zigate
|
||||
, zigpy-znp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha";
|
||||
version = "0.0.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zha";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-47dlWMzY1vPmHIDCy8a0xzk2G+OPq6vEK5OpP1c8vw4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"setuptools-git-versioning<2"' "" \
|
||||
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"universal-silabs-flasher"
|
||||
"zha-quirks"
|
||||
];
|
||||
|
||||
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
awesomeversion
|
||||
bellows
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
pyserial-asyncio-fast
|
||||
python-slugify
|
||||
universal-silabs-flasher
|
||||
zha-quirks
|
||||
zigpy
|
||||
zigpy-deconz
|
||||
zigpy-xbee
|
||||
zigpy-zigate
|
||||
zigpy-znp
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zha"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests are long-running and often keep hanging
|
||||
"test_check_available_no_basic_cluster_handler"
|
||||
"test_check_available_success"
|
||||
"test_check_available_unsuccessful"
|
||||
"test_device_counter_sensors"
|
||||
"test_device_tracker"
|
||||
"test_elec_measurement_sensor_polling"
|
||||
"test_electrical_measurement_init"
|
||||
"test_group_member_assume_state"
|
||||
"test_light_refresh"
|
||||
"test_light"
|
||||
"test_light"
|
||||
"test_light"
|
||||
"test_pollers_skip"
|
||||
"test_sinope_time"
|
||||
"test_siren_timed_off"
|
||||
"test_zha_group_light_entity"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_cluster_handlers.py"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-v"
|
||||
"--timeout=5"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Zigbee Home Automation";
|
||||
homepage = "https://github.com/zigpy/zha";
|
||||
changelog = "https://github.com/zigpy/zha/releases/tag/${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -1,12 +1,16 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aiosqlite
|
||||
, aioresponses
|
||||
, aiosqlite
|
||||
, async-timeout
|
||||
, attrs
|
||||
, buildPythonPackage
|
||||
, crccheck
|
||||
, cryptography
|
||||
, freezegun
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, importlib-resources
|
||||
, jsonschema
|
||||
, pycryptodome
|
||||
, pyserial-asyncio
|
||||
, pytest-asyncio
|
||||
@ -14,12 +18,13 @@
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, typing-extensions
|
||||
, voluptuous
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "0.63.4";
|
||||
version = "0.63.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -28,27 +33,34 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-0wenUUkhgodsBID+ZT9JRoJeGDTqAChAIpj+9/Q3FMM=";
|
||||
hash = "sha256-iZxHXxheyoA5vo0Pxojs7QE8rSyTpsYpJ6/OzDSZJ20=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"setuptools-git-versioning<2"' "" \
|
||||
--replace 'dynamic = ["version"]' 'version = "${version}"'
|
||||
--replace-fail '"setuptools-git-versioning<2"' "" \
|
||||
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
attrs
|
||||
aiohttp
|
||||
aiosqlite
|
||||
crccheck
|
||||
cryptography
|
||||
jsonschema
|
||||
pyserial-asyncio
|
||||
typing-extensions
|
||||
pycryptodome
|
||||
voluptuous
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
async-timeout
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@ -66,6 +78,11 @@ buildPythonPackage rec {
|
||||
"test_periodic_scan_priority"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
"tests/ota/test_ota_providers.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zigpy.application"
|
||||
"zigpy.config"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2024.3.3";
|
||||
version = "2024.4.0";
|
||||
components = {
|
||||
"3_day_blinds" = ps: with ps; [
|
||||
];
|
||||
@ -283,7 +283,6 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"aseko_pool_live" = ps: with ps; [
|
||||
@ -362,7 +361,6 @@
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
axis
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"azure_devops" = ps: with ps; [
|
||||
@ -856,7 +854,6 @@
|
||||
home-assistant-frontend
|
||||
home-assistant-intents
|
||||
ifaddr
|
||||
janus
|
||||
mutagen
|
||||
numpy
|
||||
pillow
|
||||
@ -1056,7 +1053,6 @@
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
dropmqttapi
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"dsmr" = ps: with ps; [
|
||||
@ -1066,7 +1062,6 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"dte_energy_bridge" = ps: with ps; [
|
||||
@ -1096,7 +1091,6 @@
|
||||
dynalite-panel
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -1183,6 +1177,9 @@
|
||||
pypca
|
||||
];
|
||||
"elvia" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -1386,11 +1383,13 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
];
|
||||
"filesize" = ps: with ps; [
|
||||
];
|
||||
"filter" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -1560,7 +1559,6 @@
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -1574,13 +1572,15 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
python-fullykiosk
|
||||
];
|
||||
"futurenow" = ps: with ps; [
|
||||
pyfnip
|
||||
];
|
||||
"fyta" = ps: with ps; [
|
||||
fyta-cli
|
||||
];
|
||||
"garadget" = ps: with ps; [
|
||||
];
|
||||
"garages_amsterdam" = ps: with ps; [
|
||||
@ -1633,6 +1633,9 @@
|
||||
"generic_hygrostat" = ps: with ps; [
|
||||
];
|
||||
"generic_thermostat" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -1917,6 +1920,9 @@
|
||||
sqlalchemy
|
||||
];
|
||||
"history_stats" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -1956,7 +1962,6 @@
|
||||
aiohttp-zlib-ng
|
||||
bellows
|
||||
fnv-hash-fast
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
@ -1978,7 +1983,6 @@
|
||||
aiohttp-zlib-ng
|
||||
bellows
|
||||
fnv-hash-fast
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
@ -2000,7 +2004,6 @@
|
||||
aiohttp-zlib-ng
|
||||
bellows
|
||||
fnv-hash-fast
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
@ -2022,7 +2025,6 @@
|
||||
aiohttp-zlib-ng
|
||||
bellows
|
||||
fnv-hash-fast
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
@ -2355,7 +2357,6 @@
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
insteon-frontend-home-assistant
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pyinsteon
|
||||
@ -2526,6 +2527,9 @@
|
||||
pykira
|
||||
];
|
||||
"kitchen_sink" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -2542,7 +2546,6 @@
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
knx-frontend
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
@ -2583,7 +2586,34 @@
|
||||
"lacrosse_view" = ps: with ps; [
|
||||
]; # missing inputs: lacrosse-view
|
||||
"lamarzocco" = ps: with ps; [
|
||||
aioesphomeapi
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
aioruuvigateway
|
||||
aioshelly
|
||||
bleak
|
||||
bleak-esphome
|
||||
bleak-retry-connector
|
||||
bluetooth-adapters
|
||||
bluetooth-auto-recovery
|
||||
bluetooth-data-tools
|
||||
dbus-fast
|
||||
esphome-dashboard-api
|
||||
fnv-hash-fast
|
||||
ha-ffmpeg
|
||||
habluetooth
|
||||
hassil
|
||||
home-assistant-intents
|
||||
ifaddr
|
||||
lmcloud
|
||||
mutagen
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
pyudev
|
||||
sqlalchemy
|
||||
webrtc-noise-gain
|
||||
zeroconf
|
||||
];
|
||||
"lametric" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
@ -2798,7 +2828,6 @@
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -2839,6 +2868,10 @@
|
||||
webrtc-noise-gain
|
||||
];
|
||||
"lovelace" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
pillow
|
||||
];
|
||||
"luci" = ps: with ps; [
|
||||
openwrt-luci-rpc
|
||||
@ -2887,7 +2920,6 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"map" = ps: with ps; [
|
||||
@ -2896,7 +2928,6 @@
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -3205,6 +3236,35 @@
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
];
|
||||
"motionblinds_ble" = ps: with ps; [
|
||||
aioesphomeapi
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
aioruuvigateway
|
||||
aioshelly
|
||||
bleak
|
||||
bleak-esphome
|
||||
bleak-retry-connector
|
||||
bluetooth-adapters
|
||||
bluetooth-auto-recovery
|
||||
bluetooth-data-tools
|
||||
dbus-fast
|
||||
esphome-dashboard-api
|
||||
fnv-hash-fast
|
||||
ha-ffmpeg
|
||||
habluetooth
|
||||
hassil
|
||||
home-assistant-intents
|
||||
ifaddr
|
||||
mutagen
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
pyudev
|
||||
sqlalchemy
|
||||
webrtc-noise-gain
|
||||
zeroconf
|
||||
]; # missing inputs: motionblindsble
|
||||
"motioneye" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
@ -3221,35 +3281,30 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"mqtt_eventstream" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"mqtt_json" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"mqtt_room" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"mqtt_statestream" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"msteams" = ps: with ps; [
|
||||
@ -3270,7 +3325,6 @@
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -3281,7 +3335,6 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
pymysensors
|
||||
];
|
||||
@ -3468,7 +3521,7 @@
|
||||
"number" = ps: with ps; [
|
||||
];
|
||||
"nut" = ps: with ps; [
|
||||
pynut2
|
||||
aionut
|
||||
];
|
||||
"nutrichef" = ps: with ps; [
|
||||
];
|
||||
@ -3495,6 +3548,13 @@
|
||||
"ohmconnect" = ps: with ps; [
|
||||
defusedxml
|
||||
];
|
||||
"ollama" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
hassil
|
||||
home-assistant-intents
|
||||
]; # missing inputs: ollama-hass
|
||||
"ombi" = ps: with ps; [
|
||||
pyombi
|
||||
];
|
||||
@ -3505,10 +3565,7 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
];
|
||||
"oncue" = ps: with ps; [
|
||||
aiooncue
|
||||
@ -3543,9 +3600,6 @@
|
||||
];
|
||||
"openalpr_cloud" = ps: with ps; [
|
||||
];
|
||||
"opencv" = ps: with ps; [
|
||||
numpy
|
||||
]; # missing inputs: opencv-python-headless
|
||||
"openerz" = ps: with ps; [
|
||||
openerz-api
|
||||
];
|
||||
@ -3582,6 +3636,9 @@
|
||||
pyopnsense
|
||||
];
|
||||
"opower" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
opower
|
||||
psutil-home-assistant
|
||||
@ -3637,7 +3694,6 @@
|
||||
bellows
|
||||
fnv-hash-fast
|
||||
ifaddr
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pyroute2
|
||||
@ -3676,7 +3732,6 @@
|
||||
hass-nabucasa
|
||||
hassil
|
||||
home-assistant-intents
|
||||
janus
|
||||
mutagen
|
||||
paho-mqtt
|
||||
psutil-home-assistant
|
||||
@ -3704,7 +3759,6 @@
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -3715,7 +3769,6 @@
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -3787,6 +3840,9 @@
|
||||
webrtc-noise-gain
|
||||
];
|
||||
"plant" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -4086,6 +4142,9 @@
|
||||
aiorecollect
|
||||
];
|
||||
"recorder" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -4100,7 +4159,6 @@
|
||||
hassil
|
||||
home-assistant-frontend
|
||||
home-assistant-intents
|
||||
janus
|
||||
mutagen
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
@ -4390,6 +4448,9 @@
|
||||
zeroconf
|
||||
];
|
||||
"sensor" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -4503,6 +4564,7 @@
|
||||
dbus-fast
|
||||
fnv-hash-fast
|
||||
habluetooth
|
||||
ifaddr
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
pyudev
|
||||
@ -4619,6 +4681,8 @@
|
||||
];
|
||||
"smtp" = ps: with ps; [
|
||||
];
|
||||
"smud" = ps: with ps; [
|
||||
];
|
||||
"snapcast" = ps: with ps; [
|
||||
snapcast
|
||||
];
|
||||
@ -4626,7 +4690,6 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"snmp" = ps: with ps; [
|
||||
@ -4767,6 +4830,9 @@
|
||||
xmltodict
|
||||
];
|
||||
"statistics" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
@ -4954,7 +5020,6 @@
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
hatasmota
|
||||
janus
|
||||
paho-mqtt
|
||||
];
|
||||
"tautulli" = ps: with ps; [
|
||||
@ -4978,16 +5043,14 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
pysocks
|
||||
python-telegram-bot
|
||||
];
|
||||
]; # missing inputs: python-telegram-bot.optional-dependencies.socks
|
||||
"telegram_bot" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
pysocks
|
||||
python-telegram-bot
|
||||
];
|
||||
]; # missing inputs: python-telegram-bot.optional-dependencies.socks
|
||||
"tellduslive" = ps: with ps; [
|
||||
tellduslive
|
||||
];
|
||||
@ -5106,6 +5169,9 @@
|
||||
"threshold" = ps: with ps; [
|
||||
];
|
||||
"tibber" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
pytibber
|
||||
@ -5805,7 +5871,6 @@
|
||||
aiohttp-zlib-ng
|
||||
bellows
|
||||
fnv-hash-fast
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
@ -6000,6 +6065,7 @@
|
||||
"dnsip"
|
||||
"doorbird"
|
||||
"dormakaba_dkey"
|
||||
"downloader"
|
||||
"dremel_3d_printer"
|
||||
"drop_connect"
|
||||
"dsmr"
|
||||
@ -6080,6 +6146,7 @@
|
||||
"frontend"
|
||||
"frontier_silicon"
|
||||
"fully_kiosk"
|
||||
"fyta"
|
||||
"garages_amsterdam"
|
||||
"gardena_bluetooth"
|
||||
"gdacs"
|
||||
@ -6148,6 +6215,7 @@
|
||||
"homematic"
|
||||
"homematicip_cloud"
|
||||
"homewizard"
|
||||
"homeworks"
|
||||
"honeywell"
|
||||
"html5"
|
||||
"http"
|
||||
@ -6249,6 +6317,7 @@
|
||||
"mailgun"
|
||||
"manual"
|
||||
"manual_mqtt"
|
||||
"map"
|
||||
"matrix"
|
||||
"matter"
|
||||
"maxcube"
|
||||
@ -6430,6 +6499,7 @@
|
||||
"romy"
|
||||
"roomba"
|
||||
"roon"
|
||||
"rova"
|
||||
"rpi_power"
|
||||
"rss_feed_template"
|
||||
"rtsp_to_webrtc"
|
||||
@ -6541,8 +6611,6 @@
|
||||
"tcp"
|
||||
"technove"
|
||||
"tedee"
|
||||
"telegram"
|
||||
"telegram_bot"
|
||||
"tellduslive"
|
||||
"temper"
|
||||
"template"
|
||||
|
@ -134,19 +134,6 @@ let
|
||||
];
|
||||
});
|
||||
|
||||
bluecurrent-api = super.bluecurrent-api.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.0.6";
|
||||
src = fetchPypi {
|
||||
pname = "bluecurrent-api";
|
||||
inherit version;
|
||||
hash = "sha256-XHVdtkiG0ff/OY8g+W5iur7OAyhhk1UGA+XUfB2L8/o=";
|
||||
};
|
||||
build-system = oldAttrs.build-system ++ (with self; [
|
||||
pythonRelaxDepsHook
|
||||
]);
|
||||
pythonRemoveDeps = [ "asyncio" ];
|
||||
});
|
||||
|
||||
debugpy = super.debugpy.overridePythonAttrs (oldAttrs: {
|
||||
# tests are deadlocking too often
|
||||
# https://github.com/NixOS/nixpkgs/issues/262000
|
||||
@ -424,26 +411,6 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
pywaze = super.pywaze.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.5.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "eifinger";
|
||||
repo = "pywaze";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-r7ROEdgHdjXkveVUbuALHtwCX4IO0lwx9Zo3u6R9I58=";
|
||||
};
|
||||
});
|
||||
|
||||
sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.0.27";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sqlalchemy";
|
||||
repo = "sqlalchemy";
|
||||
rev = "refs/tags/rel_${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||
hash = "sha256-6R+A7rVq1olRXj1wMolHhEq418bpr5rsmH8RjxajmmQ=";
|
||||
};
|
||||
});
|
||||
|
||||
tesla-powerwall = super.tesla-powerwall.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.5.1";
|
||||
src = fetchFromGitHub {
|
||||
@ -541,7 +508,7 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "2024.3.3";
|
||||
hassVersion = "2024.4.0";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@ -559,13 +526,13 @@ in python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-EutnNqENt1MTmbMe9vtSM+bM5PzvjsfMhpkwXdxWoeI=";
|
||||
hash = "sha256-Qca6BHeId/fHhIViU7BJhYXxoMxRSeaJQ7CJLmIBmuU=";
|
||||
};
|
||||
|
||||
# Secondary source is pypi sdist for translations
|
||||
sdist = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-9i8snvozDKgvcEQfk9KTYfqHxQbDBluvArXYVVnNvnA=";
|
||||
hash = "sha256-SGXqDjt2wzC/rTAGlV8DSFxauUvIrG3RgOxPCUsAJQ0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
|
@ -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 = "20240307.0";
|
||||
version = "20240403.1";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-Wy5TzJ6+Dbkk51TMt9zGIfjI7gMrT4mK0IIRnl4byVE=";
|
||||
hash = "sha256-kvgyecLgp5KFhwKl4AGhbJeq1mwhR0UVcjeZqaB+6nQ=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
@ -9,27 +9,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "home-assistant-intents";
|
||||
version = "2024.3.12";
|
||||
format = "pyproject";
|
||||
version = "2024.4.3";
|
||||
format = "wheel";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-9oMn5ogHcuopAnXgATu9xlBBBMeWJ9RT5C//xJ5FOBI=";
|
||||
inherit version format;
|
||||
pname = "home_assistant_intents";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-GraYVtioKIoKlPRBhhhzlbBfI6heXAaA1MQpUqAgEDQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml --replace-fail \
|
||||
'requires = ["setuptools~=62.3", "wheel~=0.37.1"]' \
|
||||
'requires = ["setuptools"]'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
# sdist does not ship tests
|
||||
# sdist/wheel do not ship tests
|
||||
doCheck = false;
|
||||
|
||||
pytestFlagsArray = [
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homeassistant-stubs";
|
||||
version = "2024.3.3";
|
||||
version = "2024.4.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = python.version != home-assistant.python.version;
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "KapJI";
|
||||
repo = "homeassistant-stubs";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Qc+pwG87R57wGyCujMQ6qygDOhRh/FoDf1HTRZS3M6s=";
|
||||
hash = "sha256-5igsxs0/1S0sYlaNxFSsTAo9HkIAqn3XZ031VjAkEQg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -327,6 +327,8 @@ self: super: with self; {
|
||||
|
||||
aionotion = callPackage ../development/python-modules/aionotion { };
|
||||
|
||||
aionut = callPackage ../development/python-modules/aionut { };
|
||||
|
||||
aiooncue = callPackage ../development/python-modules/aiooncue { };
|
||||
|
||||
aioopenexchangerates = callPackage ../development/python-modules/aioopenexchangerates { };
|
||||
@ -4552,6 +4554,8 @@ self: super: with self; {
|
||||
|
||||
fx2 = callPackage ../development/python-modules/fx2 { };
|
||||
|
||||
fyta-cli = callPackage ../development/python-modules/fyta-cli { };
|
||||
|
||||
g2pkk = callPackage ../development/python-modules/g2pkk { };
|
||||
|
||||
galario = toPythonModule (pkgs.galario.override {
|
||||
@ -17102,6 +17106,8 @@ self: super: with self; {
|
||||
|
||||
zfec = callPackage ../development/python-modules/zfec { };
|
||||
|
||||
zha = callPackage ../development/python-modules/zha { };
|
||||
|
||||
zha-quirks = callPackage ../development/python-modules/zha-quirks { };
|
||||
|
||||
ziafont = callPackage ../development/python-modules/ziafont { };
|
||||
|
Loading…
Reference in New Issue
Block a user