mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 04:27:27 +03:00
Merge pull request #324398 from NixOS/home-assistant
home-assistant: 2024.6.4 -> 2024.7.0
This commit is contained in:
commit
2acedbbdb3
@ -4,6 +4,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
freezegun,
|
||||
ical,
|
||||
mashumaro,
|
||||
poetry-core,
|
||||
pyjwt,
|
||||
@ -15,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioautomower";
|
||||
version = "2024.6.1";
|
||||
version = "2024.6.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -24,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "Thomas55555";
|
||||
repo = "aioautomower";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-9mIGhSw8FP5+hAs9It8oTCFYSSRgTGAkMNBbCVImkMQ=";
|
||||
hash = "sha256-v+wg/2JRBJ0VgRYOey92WGwVzHmxU9h/ev2oICefaMg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -38,6 +39,7 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
ical
|
||||
mashumaro
|
||||
pyjwt
|
||||
];
|
||||
|
@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
@ -27,7 +26,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioesphomeapi";
|
||||
version = "24.6.0";
|
||||
version = "24.6.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -36,16 +35,9 @@ buildPythonPackage rec {
|
||||
owner = "esphome";
|
||||
repo = "aioesphomeapi";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-T0E8lrire3rlPY3B3P3CqNWYV4SMvnOKKiiGTRoDz/s=";
|
||||
hash = "sha256-wvfAkV+EjGytPog3ik7NAC0rW8nkHufenGfapeQr1X0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/esphome/aioesphomeapi/commit/647dd99e0d04f017da41880e2fc299914ad5c762.diff";
|
||||
hash = "sha256-A0emzRj8AO7KF/XcAk0ysUvXO7v/tzvKGa63T5dzgTk=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
cython
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiooui";
|
||||
version = "0.1.5";
|
||||
version = "0.1.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "aiooui";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-/RZ8nZatlfo3AJvg/4JgyAHtrnoj50uxbhqr+ToCTJ4=";
|
||||
hash = "sha256-dsMVKfY9o1krzp100/7JtClgPrpsFTVNwMnYMqOVFIU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioshelly";
|
||||
version = "10.0.1";
|
||||
version = "11.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "aioshelly";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+p+AFgqS/9rCDkIiNm4o7GhQ4dPfKl2s7ukEYaAdlgo=";
|
||||
hash = "sha256-158b4lsxebtLXXsPhzbkXP9ioPlFIsJcS5G5eDqFY98=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiozoneinfo";
|
||||
version = "0.2.0";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "bluetooth-devices";
|
||||
repo = "aiozoneinfo";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-VpdghF2rXoA94YfMSNaICa3yfRRRiQueVrLk1K4igdk=";
|
||||
hash = "sha256-u7yQiy5xKK1A19cmpXjA4MMK4q7RvtuvwkUECnddzG8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "async-interrupt";
|
||||
version = "1.1.1";
|
||||
version = "1.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "bdraco";
|
||||
repo = "async_interrupt";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-mbvOj1ybCkDNr3je3PtFwmddkh2k/nHOerpC6hGSUYI=";
|
||||
hash = "sha256-CFCWlIx4iAG6gW2ORRYfZpFWRvjukqdcR2yg6NjVqps=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "axis";
|
||||
version = "61";
|
||||
version = "62";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "Kane610";
|
||||
repo = "axis";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-YiEY+Eu1j42bBzM4f5Ku5mAE2/tY9f+Hyb2DS6LIW7c=";
|
||||
hash = "sha256-ey0yt+AIbMO74brHepnCFtekDS4XscTKswshlTrS41A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blinkpy";
|
||||
version = "0.22.7";
|
||||
version = "0.23.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "fronzbot";
|
||||
repo = "blinkpy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FfjvF6PBM+18JgQBP6vyElQYWMVizAEGk92ILwxpFSk=";
|
||||
hash = "sha256-MWXOxE0nxBFhkAWjy7qFPhv4AO6VjGf+fAiyaWXeiX8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bluetooth-adapters";
|
||||
version = "0.19.2";
|
||||
version = "0.19.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "bluetooth-adapters";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hPs6YnmndJ2Z5RotcIRIYWPdvMyX56ul84l1Cs8kqH0=";
|
||||
hash = "sha256-yRGlp3hykxdWnJde/VF6CwQgP6cupj1BCW7OmFNQAbM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bluetooth-data-tools";
|
||||
version = "1.19.0";
|
||||
version = "1.19.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-G345Nz0iVUQWOCEnf5UqUa49kAXCmNY22y4v+J2/G2Q=";
|
||||
hash = "sha256-ofcGdHHd1P+R9ykJGtwHURTzHCeiJ603EqtgUgLPnmM=";
|
||||
};
|
||||
|
||||
# The project can build both an optimized cython version and an unoptimized
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bluetooth-sensor-state-data";
|
||||
version = "1.7.0";
|
||||
version = "1.7.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "bluetooth-sensor-state-data";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-phiK+2tULBE78d1X/TsaT2kLRHxiCiuLMkaI7S6tqJ8=";
|
||||
hash = "sha256-Gsg6Gbb+nvrKr7vn9zUuPTPtSjqFJyMk7oLt7LUUn5A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
51
pkgs/development/python-modules/convertertools/default.nix
Normal file
51
pkgs/development/python-modules/convertertools/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
cython,
|
||||
poetry-core,
|
||||
setuptools,
|
||||
|
||||
# checks
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "convertertools";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bluetooth-devices";
|
||||
repo = "convertertools";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-g4dSJjogMBC8wqvbYDjDP6YihxuG7PQn/jwrrBFOt80=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/--cov/d" pyproject.toml
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "convertertools" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools for converting python data types";
|
||||
homepage = "https://github.com/bluetooth-devices/convertertools";
|
||||
changelog = "https://github.com/bluetooth-devices/convertertools/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-fast";
|
||||
version = "2.21.3";
|
||||
version = "2.22.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "dbus-fast";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Wmv6R/aOBFPSzTVEElYsg/CrywB/pAYPWZBsMhpqtFQ=";
|
||||
hash = "sha256-WT32nkRcS+JFCJCZNXXFm38nzttYLsqU98tJD7YBn9w=";
|
||||
};
|
||||
|
||||
# The project can build both an optimized cython version and an unoptimized
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deebot-client";
|
||||
version = "8.0.0";
|
||||
version = "8.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "DeebotUniverse";
|
||||
repo = "client.py";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-iAUGk7ErRG7ZgvjbmEZRLAOFlMHKZ/iM8pkwAtFla2E=";
|
||||
hash = "sha256-j5D+ZOlthQEfFJQWfN4xecwd5vBSjdvCVzJuRzRuh9o=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "easyenergy";
|
||||
version = "2.1.1";
|
||||
version = "2.1.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "klaasnicolaas";
|
||||
repo = "python-easyenergy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-UHCwxdtziWIZMf3ORIZoQFE3MI8qbBQo5PEbvppvwD4=";
|
||||
hash = "sha256-tWKfcGznxck8VLK3YshOIbPet2CEbUZbT8JzgaAhAso=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gcal-sync";
|
||||
version = "6.1.0";
|
||||
version = "6.1.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "allenporter";
|
||||
repo = "gcal_sync";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-mZn/3oROIUSv6cCxXs3rBJtlmKsqNflTW2pcER8GisE=";
|
||||
hash = "sha256-aKLuv/hH9ZVM8WeUwCtJ6BB2/aQh6NHJKh890hR23eM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gridnet";
|
||||
version = "5.0.0";
|
||||
version = "5.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "klaasnicolaas";
|
||||
repo = "python-gridnet";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-7tLT5sRoUjWs1DOIuUEbnJJkg9LHZqrN/eu+Mjx5Yd4=";
|
||||
hash = "sha256-HVBUAasK7lFsj/tT0j70x/2w4RJtnHWfX/1XbfKKLf8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -10,6 +10,7 @@
|
||||
cython,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
@ -18,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "habluetooth";
|
||||
version = "3.1.1";
|
||||
version = "3.1.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -27,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "habluetooth";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-HlQAYR+feu1awKFf11Q5Us4zSeHASu8OscJ8T8tlm5M=";
|
||||
hash = "sha256-HG2G/ymSw6e03KJOB/F5ja2Cv5nD+nPgOjMHPCYNSH8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -51,7 +52,10 @@ buildPythonPackage rec {
|
||||
bluetooth-data-tools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "habluetooth" ];
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hatasmota";
|
||||
version = "0.8.0";
|
||||
version = "0.9.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "emontnemery";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Kbz/ETSJGx6u0ZNfEWfl9klBIB3yPcfHGy1uKK50TGA=";
|
||||
hash = "sha256-m40ZK1+cfWgrwWftFqExUZidCrbDMC1Sfshugqrp5QM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "home-assistant-bluetooth";
|
||||
version = "1.12.0";
|
||||
version = "1.12.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -28,34 +28,29 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "home-assistant-bluetooth";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-KTaZ3xbZpBIN5zP73YdJW6QeCQThGdqejnfWwvL+0R8=";
|
||||
hash = "sha256-WAsgiOmYqmt/PCKp+vZA2To95YZAgnYCF8ysCn5N9nc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/home-assistant-libs/home-assistant-bluetooth/issues/38
|
||||
./habluetooth-3.0-compat.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# drop pytest parametrization (coverage, etc.)
|
||||
sed -i '/addopts/d' pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ habluetooth ];
|
||||
|
||||
pythonImportsCheck = [ "home_assistant_bluetooth" ];
|
||||
dependencies = [ habluetooth ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
bleak
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "home_assistant_bluetooth" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Basic bluetooth models used by Home Assistant";
|
||||
changelog = "https://github.com/home-assistant-libs/home-assistant-bluetooth/blob/v${version}/CHANGELOG.md";
|
||||
|
@ -1,50 +0,0 @@
|
||||
diff --git a/tests/test_models.py b/tests/test_models.py
|
||||
index ecfd70c..b8001f2 100644
|
||||
--- a/tests/test_models.py
|
||||
+++ b/tests/test_models.py
|
||||
@@ -88,6 +88,7 @@ def test_model_from_scanner():
|
||||
"service_uuids": ["cba20d00-224d-11e6-9fb8-0002a5d5c51b"],
|
||||
"source": "local",
|
||||
"time": now,
|
||||
+ "tx_power": -127,
|
||||
}
|
||||
|
||||
|
||||
@@ -109,6 +110,7 @@ def test_construct_service_info_bleak():
|
||||
advertisement=switchbot_adv,
|
||||
connectable=False,
|
||||
time=now,
|
||||
+ tx_power=None,
|
||||
)
|
||||
|
||||
assert service_info.service_uuids == ["cba20d00-224d-11e6-9fb8-0002a5d5c51b"]
|
||||
@@ -132,6 +134,7 @@ def test_construct_service_info_bleak():
|
||||
"service_uuids": ["cba20d00-224d-11e6-9fb8-0002a5d5c51b"],
|
||||
"source": "local",
|
||||
"time": now,
|
||||
+ "tx_power": None,
|
||||
}
|
||||
|
||||
|
||||
@@ -165,6 +168,7 @@ def test_from_device_and_advertisement_data():
|
||||
"service_uuids": ["cba20d00-224d-11e6-9fb8-0002a5d5c51b"],
|
||||
"source": "local",
|
||||
"time": now_monotonic,
|
||||
+ "tx_power": -127,
|
||||
}
|
||||
|
||||
|
||||
@@ -200,6 +204,7 @@ def test_pyobjc_compat():
|
||||
advertisement=switchbot_adv,
|
||||
connectable=False,
|
||||
time=now,
|
||||
+ tx_power=None,
|
||||
)
|
||||
|
||||
assert service_info.service_uuids == ["cba20d00-224d-11e6-9fb8-0002a5d5c51b"]
|
||||
@@ -223,4 +228,5 @@ def test_pyobjc_compat():
|
||||
"service_uuids": ["cba20d00-224d-11e6-9fb8-0002a5d5c51b"],
|
||||
"source": "local",
|
||||
"time": now,
|
||||
+ "tx_power": None,
|
||||
}
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "home-assistant-chip-clusters";
|
||||
version = "2024.5.2";
|
||||
version = "2024.7.0";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_chip_clusters";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-LP/Iw0dgm8TUws/SNUfg7b/OPIboCGB7JRiEwXNd+4A=";
|
||||
hash = "sha256-1yR8Z+R16u099XtxPasmocFbdQPH1Rr6sqngNpWmuWE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "home-assistant-chip-core";
|
||||
version = "2024.5.2";
|
||||
version = "2024.7.0";
|
||||
format = "wheel";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -40,11 +40,11 @@ buildPythonPackage rec {
|
||||
{
|
||||
"aarch64-linux" = {
|
||||
name = "aarch64";
|
||||
hash = "sha256-4C3KHmFbbpeWvmfwoVcc8kWRw22sGJMyDKsUGcbch6U=";
|
||||
hash = "sha256-omEYZXAqkB5+trALBTqJ8SBGasTHD2mT2km6FizBvS8=";
|
||||
};
|
||||
"x86_64-linux" = {
|
||||
name = "x86_64";
|
||||
hash = "sha256-n+Dn0vL0uUEvXsoKegSpJIG2jHbXSrYv2NhL+ZeVHrk=";
|
||||
hash = "sha256-mTMXCpYRon8SqZB+0+P4IM+NUUOKBfxjf/NmLTElB+A=";
|
||||
};
|
||||
}
|
||||
.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ical";
|
||||
version = "8.1.0";
|
||||
version = "8.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "allenporter";
|
||||
repo = "ical";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-tx6zlOelZ0QtKUke4vn2fa3tQI8FDw183gIT1L0cBA4=";
|
||||
hash = "sha256-b0laQRDATmx4401bJKkdHsfT9gpMff8vGaZJ9l8O7w4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "incomfort-client";
|
||||
version = "0.6.2";
|
||||
version = "0.6.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "zxdavb";
|
||||
repo = "incomfort-client";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2hTH0haG8ja0Hgomj7kbbHUij9w3jbhHeKeMCtsgeEE=";
|
||||
hash = "sha256-GD5NsVvmuCuEXw8KvojSj5b67/i0skvhYW8ko+9iysU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -4,18 +4,18 @@
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
orjson,
|
||||
pytest-asyncio,
|
||||
pytest-error-for-skips,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
syrupy,
|
||||
tenacity,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nextdns";
|
||||
version = "3.0.0";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -24,14 +24,14 @@ buildPythonPackage rec {
|
||||
owner = "bieniu";
|
||||
repo = "nextdns";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ka/VT7c72la4z/BVAWnV06MxVmu52ZcJ4GsEeP7vbKA=";
|
||||
hash = "sha256-bBGuMfXCAqds9SMGj1I+9rk/u2QljZW60quvWODboCA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
orjson
|
||||
tenacity
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@ -42,6 +42,12 @@ buildPythonPackage rec {
|
||||
syrupy
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# mocked object called too many times
|
||||
"test_retry_error"
|
||||
"test_retry_success"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "nextdns" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyfritzhome";
|
||||
version = "0.6.11";
|
||||
version = "0.6.12";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "hthiery";
|
||||
repo = "python-fritzhome";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-YzrRkFa4J3NXdc4W5CHrHvqSVJ8yBGtaf6gRqmiY7gI=";
|
||||
hash = "sha256-L+9CjSXJrPmlLif1SYfJr6C76IufUzj9FHSGQO78Vsw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyrisco";
|
||||
version = "0.6.3";
|
||||
version = "0.6.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "OnFreund";
|
||||
repo = "pyrisco";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-E/KVQSoyJWJJ+UFtu3SzJDfXu2cj7A0puYgcUxrHKRo=";
|
||||
hash = "sha256-Xd6m7P/9ZB0tY6io59kCr8n4H8PXMO3nyMRmm8rpgJs=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
anyio,
|
||||
async-timeout,
|
||||
asyncclick,
|
||||
buildPythonPackage,
|
||||
@ -12,6 +11,7 @@
|
||||
poetry-core,
|
||||
pydantic,
|
||||
pytest-asyncio,
|
||||
pytest-freezer,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-kasa";
|
||||
version = "0.6.2.1";
|
||||
version = "0.7.0.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -29,14 +29,13 @@ buildPythonPackage rec {
|
||||
owner = "python-kasa";
|
||||
repo = "python-kasa";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-iCqJY3qkA3ZVXTCfxvQoaZsaqGui8PwKGAmLXKZgLJs=";
|
||||
hash = "sha256-Ah2SmKHinpjPMNl1cn2I5FouxhVvg56tg70dOM7C444=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
anyio
|
||||
async-timeout
|
||||
asyncclick
|
||||
cryptography
|
||||
@ -45,6 +44,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-freezer
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
voluptuous
|
||||
|
@ -55,7 +55,7 @@ in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-matter-server";
|
||||
version = "6.1.2";
|
||||
version = "6.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -64,7 +64,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "python-matter-server";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-J0Y7+cNRpHxCLYoOMd/W8WxvDQzJdqfbcaD779tSPqM=";
|
||||
hash = "sha256-20heZrdSuKfiRuKKnDyguSC5bbV/9qBcu6E/5vcV1iU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "renault-api";
|
||||
version = "0.2.3";
|
||||
version = "0.2.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "hacf-fr";
|
||||
repo = "renault-api";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-+QqiD4mMfzlHmSiriaS0JzbMdOGCG7cg/xv6zJaPSOU=";
|
||||
hash = "sha256-dr830PDGiTpiWCHsgxDspVyk6isOVsdGhB/jL96CDic=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
@ -11,6 +12,7 @@
|
||||
aiohttp,
|
||||
aioshutil,
|
||||
async-timeout,
|
||||
convertertools,
|
||||
dateparser,
|
||||
orjson,
|
||||
packaging,
|
||||
@ -35,14 +37,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uiprotect";
|
||||
version = "1.7.2";
|
||||
version = "5.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uilibs";
|
||||
repo = "uiprotect";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-gr+P7V0vsmWha/Di3BGORjssCLz0lsufawzMZKOMYt0=";
|
||||
hash = "sha256-VH8b++7C4bLLoZoefc9zd9S7HTkrDiE7Wle3wkwvjoA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -51,11 +55,14 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
pythonRelaxDeps = [ "pydantic" ];
|
||||
|
||||
dependencies = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
aioshutil
|
||||
async-timeout
|
||||
convertertools
|
||||
dateparser
|
||||
orjson
|
||||
packaging
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vallox-websocket-api";
|
||||
version = "5.2.0";
|
||||
version = "5.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "yozik04";
|
||||
repo = "vallox_websocket_api";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-qq58ZSrKVQ00rtXMe4L9xfz0QB+UpjGOhPo1srPYIY4=";
|
||||
hash = "sha256-jJ+FFDU4w1vdCqErz6ksJDvjFcalSAwaH+G77BNI5/E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-deconz";
|
||||
version = "0.23.1";
|
||||
version = "0.23.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-10EyT3IGdAtF9OUbfZ5OtP+Ot35O0SfMDtsyw5FQ+/8=";
|
||||
hash = "sha256-H3WsprBTfBpxMGqasWbj41Yikt/UMU0cKaROzXE2dLU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-znp";
|
||||
version = "0.12.1";
|
||||
version = "0.12.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Bs/m9Iyr8x+sMUVXt1whk2E4EJ5bpitMsEWZtmCyIf8=";
|
||||
hash = "sha256-zfoFajRuZ06LLe8+3BUZZbKGpset24QQmqAIY949MF8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
@ -2,13 +2,12 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2024.6.4";
|
||||
version = "2024.7.0";
|
||||
components = {
|
||||
"3_day_blinds" = ps: with ps; [
|
||||
];
|
||||
"abode" = ps: with ps; [
|
||||
jaraco-abode
|
||||
jaraco-functools
|
||||
];
|
||||
"accuweather" = ps: with ps; [
|
||||
accuweather
|
||||
@ -111,10 +110,6 @@
|
||||
aioairzone-cloud
|
||||
];
|
||||
"aladdin_connect" = ps: with ps; [
|
||||
fnv-hash-fast
|
||||
genie-partner-sdk
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
];
|
||||
"alarm_control_panel" = ps: with ps; [
|
||||
];
|
||||
@ -220,6 +215,12 @@
|
||||
];
|
||||
"apsystems" = ps: with ps; [
|
||||
]; # missing inputs: apsystems-ez1
|
||||
"aquacell" = ps: with ps; [
|
||||
fnv-hash-fast
|
||||
ifaddr
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
]; # missing inputs: aioaquacell
|
||||
"aqualogic" = ps: with ps; [
|
||||
aqualogic
|
||||
];
|
||||
@ -627,9 +628,6 @@
|
||||
"channels" = ps: with ps; [
|
||||
pychannels
|
||||
];
|
||||
"circuit" = ps: with ps; [
|
||||
circuit-webhook
|
||||
];
|
||||
"cisco_ios" = ps: with ps; [
|
||||
pexpect
|
||||
];
|
||||
@ -808,12 +806,8 @@
|
||||
deluge-client
|
||||
];
|
||||
"demo" = ps: with ps; [
|
||||
fnv-hash-fast
|
||||
hassil
|
||||
home-assistant-intents
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
];
|
||||
"denon" = ps: with ps; [
|
||||
];
|
||||
@ -833,10 +827,7 @@
|
||||
"device_automation" = ps: with ps; [
|
||||
];
|
||||
"device_sun_light_trigger" = ps: with ps; [
|
||||
fnv-hash-fast
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
];
|
||||
"device_tracker" = ps: with ps; [
|
||||
];
|
||||
@ -1072,7 +1063,7 @@
|
||||
pyemby
|
||||
];
|
||||
"emoncms" = ps: with ps; [
|
||||
];
|
||||
]; # missing inputs: pyemoncms
|
||||
"emoncms_history" = ps: with ps; [
|
||||
];
|
||||
"emonitor" = ps: with ps; [
|
||||
@ -1578,7 +1569,6 @@
|
||||
hassil
|
||||
home-assistant-intents
|
||||
mutagen
|
||||
voluptuous-openapi
|
||||
webrtc-noise-gain
|
||||
];
|
||||
"google_mail" = ps: with ps; [
|
||||
@ -1667,10 +1657,6 @@
|
||||
"greenwave" = ps: with ps; [
|
||||
]; # missing inputs: greenwavereality
|
||||
"group" = ps: with ps; [
|
||||
fnv-hash-fast
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
];
|
||||
"growatt_server" = ps: with ps; [
|
||||
growattserver
|
||||
@ -2161,6 +2147,8 @@
|
||||
];
|
||||
"iss" = ps: with ps; [
|
||||
]; # missing inputs: pyiss
|
||||
"ista_ecotrend" = ps: with ps; [
|
||||
]; # missing inputs: pyecotrend-ista
|
||||
"isy994" = ps: with ps; [
|
||||
pyisy
|
||||
];
|
||||
@ -2280,6 +2268,8 @@
|
||||
"kmtronic" = ps: with ps; [
|
||||
pykmtronic
|
||||
];
|
||||
"knocki" = ps: with ps; [
|
||||
]; # missing inputs: knocki
|
||||
"knx" = ps: with ps; [
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
@ -2637,6 +2627,9 @@
|
||||
];
|
||||
"mazda" = ps: with ps; [
|
||||
];
|
||||
"mealie" = ps: with ps; [
|
||||
aiomealie
|
||||
];
|
||||
"meater" = ps: with ps; [
|
||||
meater-python
|
||||
];
|
||||
@ -3162,8 +3155,7 @@
|
||||
pyownet
|
||||
];
|
||||
"onkyo" = ps: with ps; [
|
||||
onkyo-eiscp
|
||||
];
|
||||
]; # missing inputs: pyeiscp
|
||||
"onvif" = ps: with ps; [
|
||||
ha-ffmpeg
|
||||
onvif-zeep-async
|
||||
@ -3178,7 +3170,6 @@
|
||||
home-assistant-intents
|
||||
mutagen
|
||||
openai
|
||||
voluptuous-openapi
|
||||
webrtc-noise-gain
|
||||
];
|
||||
"openalpr_cloud" = ps: with ps; [
|
||||
@ -3512,12 +3503,14 @@
|
||||
aiopvpc
|
||||
];
|
||||
"pyload" = ps: with ps; [
|
||||
pyloadapi
|
||||
];
|
||||
"python_script" = ps: with ps; [
|
||||
restrictedpython
|
||||
];
|
||||
"qbittorrent" = ps: with ps; [
|
||||
]; # missing inputs: python-qbittorrent
|
||||
qbittorrent-api
|
||||
];
|
||||
"qingping" = ps: with ps; [
|
||||
aioesphomeapi
|
||||
aioruuvigateway
|
||||
@ -3893,7 +3886,6 @@
|
||||
]; # missing inputs: scsgate
|
||||
"search" = ps: with ps; [
|
||||
fnv-hash-fast
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
];
|
||||
@ -4189,8 +4181,7 @@
|
||||
"solaredge_local" = ps: with ps; [
|
||||
]; # missing inputs: solaredge-local
|
||||
"solarlog" = ps: with ps; [
|
||||
sunwatcher
|
||||
];
|
||||
]; # missing inputs: solarlog_cli
|
||||
"solax" = ps: with ps; [
|
||||
solax
|
||||
];
|
||||
@ -4472,10 +4463,6 @@
|
||||
temperusb
|
||||
];
|
||||
"template" = ps: with ps; [
|
||||
fnv-hash-fast
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
];
|
||||
"tensorflow" = ps: with ps; [
|
||||
numpy
|
||||
@ -4490,6 +4477,7 @@
|
||||
tesla-fleet-api
|
||||
];
|
||||
"tessie" = ps: with ps; [
|
||||
tesla-fleet-api
|
||||
]; # missing inputs: tessie-api
|
||||
"text" = ps: with ps; [
|
||||
];
|
||||
@ -5550,6 +5538,7 @@
|
||||
"image_processing"
|
||||
"image_upload"
|
||||
"imap"
|
||||
"incomfort"
|
||||
"influxdb"
|
||||
"inkbird"
|
||||
"input_boolean"
|
||||
@ -5634,6 +5623,7 @@
|
||||
"matter"
|
||||
"maxcube"
|
||||
"mazda"
|
||||
"mealie"
|
||||
"meater"
|
||||
"media_extractor"
|
||||
"media_player"
|
||||
@ -5667,6 +5657,7 @@
|
||||
"motionblinds_ble"
|
||||
"motioneye"
|
||||
"motionmount"
|
||||
"mpd"
|
||||
"mqtt"
|
||||
"mqtt_eventstream"
|
||||
"mqtt_json"
|
||||
@ -5736,6 +5727,7 @@
|
||||
"opower"
|
||||
"oralb"
|
||||
"otbr"
|
||||
"otp"
|
||||
"overkiz"
|
||||
"ovo_energy"
|
||||
"owntracks"
|
||||
@ -5771,7 +5763,9 @@
|
||||
"pushover"
|
||||
"pvoutput"
|
||||
"pvpc_hourly_pricing"
|
||||
"pyload"
|
||||
"python_script"
|
||||
"qbittorrent"
|
||||
"qingping"
|
||||
"qld_bushfire"
|
||||
"qnap"
|
||||
@ -5872,7 +5866,6 @@
|
||||
"snips"
|
||||
"snmp"
|
||||
"snooz"
|
||||
"solarlog"
|
||||
"solax"
|
||||
"soma"
|
||||
"somfy_mylink"
|
||||
|
@ -3,6 +3,7 @@
|
||||
, callPackage
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, fetchpatch2
|
||||
, python312
|
||||
, substituteAll
|
||||
, ffmpeg-headless
|
||||
@ -93,18 +94,6 @@ let
|
||||
'';
|
||||
});
|
||||
|
||||
aiowithings = super.aiowithings.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.1.0";
|
||||
src = fetchFromGitHub {
|
||||
inherit (oldAttrs.src)
|
||||
owner
|
||||
repo
|
||||
;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+pIIVCR+QsW9M3pH9Ss3dMvkeKM1OdhQ1y+s/T6pHtk=";
|
||||
};
|
||||
});
|
||||
|
||||
astral = super.astral.overridePythonAttrs (oldAttrs: rec {
|
||||
pname = "astral";
|
||||
version = "2.2";
|
||||
@ -192,64 +181,15 @@ let
|
||||
doCheck = false; # requires asynctest, which does not work on python 3.11
|
||||
});
|
||||
|
||||
jaraco-abode = super.jaraco-abode.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.3.0";
|
||||
openhomedevice = super.openhomedevice.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.2";
|
||||
src = fetchFromGitHub {
|
||||
inherit (oldAttrs.src) owner repo;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LnbWzIST+GMtdsHDKg67WWt9GmHUcSuGZ5Spei3nEio=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-GGp7nKFH01m1KW6yMkKlAdd26bDi8JDWva6OQ0CWMIw=";
|
||||
};
|
||||
});
|
||||
|
||||
jaraco-collections = super.jaraco-collections.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.4.0";
|
||||
src = fetchPypi {
|
||||
pname = "jaraco.collections";
|
||||
inherit version;
|
||||
hash = "sha256-NE0Udp1xbnSWr4eaxxs8br3UarxkvZ7CHRUkg2WqOsk=";
|
||||
};
|
||||
});
|
||||
|
||||
jaraco-functools = super.jaraco-functools.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.9.0";
|
||||
src = fetchPypi {
|
||||
pname = "jaraco.functools";
|
||||
inherit version;
|
||||
hash = "sha256-ixN7D+rMF/70us7gTAEcnobyNBCZyHCh0S0743sypjg=";
|
||||
};
|
||||
});
|
||||
|
||||
lmcloud = super.lmcloud.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.4.35";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zweckj";
|
||||
repo = "lmcloud";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-TUve21yamtEmEceK/V1w7IZjnMgKConMfSY/GlqFpp8=";
|
||||
};
|
||||
});
|
||||
|
||||
lxml = super.lxml.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "5.1.0";
|
||||
pyprojet = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxml";
|
||||
repo = "lxml";
|
||||
rev = "refs/tags/lxml-${version}";
|
||||
hash = "sha256-eWLYzZWatYDmhuBTZynsdytlNFKKmtWQ1XIyzVD8sDY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with self; [
|
||||
cython
|
||||
setuptools
|
||||
libxml2.dev
|
||||
libxslt.dev
|
||||
];
|
||||
|
||||
patches = [];
|
||||
});
|
||||
|
||||
pymelcloud = super.pymelcloud.overridePythonAttrs (oldAttrs: {
|
||||
version = "2.5.9";
|
||||
src = fetchFromGitHub {
|
||||
@ -282,17 +222,6 @@ let
|
||||
doCheck = false; # no tests
|
||||
});
|
||||
|
||||
# Can probably be removed with 2024.6.0
|
||||
plugwise = super.plugwise.overridePythonAttrs rec {
|
||||
version = "0.37.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "plugwise";
|
||||
repo = "python-plugwise";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-aQz0p+DNi1XVoFwdFjc3RjpHqA2kGf4pU1QS6m271gU=";
|
||||
};
|
||||
};
|
||||
|
||||
# Pinned due to API changes in 0.1.0
|
||||
poolsense = super.poolsense.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.0.8";
|
||||
@ -303,6 +232,15 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
psutil = super.psutil.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "5.9.8";
|
||||
src = fetchPypi {
|
||||
inherit (oldAttrs) pname;
|
||||
inherit version;
|
||||
hash = "sha256-a+Em4yJUht/yhqj7mgYkalJT9MfFO0depfWsk05kGUw=";
|
||||
};
|
||||
});
|
||||
|
||||
pyasn1 = super.pyasn1.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.4.8";
|
||||
src = fetchPypi {
|
||||
@ -548,7 +486,7 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run update-component-packages.py after updating
|
||||
hassVersion = "2024.6.4";
|
||||
hassVersion = "2024.7.0";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@ -566,13 +504,13 @@ in python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-WIAFTVNHzrKTRONmOc/lq5PvC34PDKF7UfIokLCVzNY=";
|
||||
hash = "sha256-0+h8Ml/EuEqfTh+TXyrCw07GpyyL84NlgJwPbLc/8XU=";
|
||||
};
|
||||
|
||||
# Secondary source is pypi sdist for translations
|
||||
sdist = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Ymv3AlArAD2rSXQwMhEVeynwhAo8ZMrtV1zUK4U8xqQ=";
|
||||
hash = "sha256-bxA6iJ90SYM8HOexyq5biKzTlQvU+V2UGtrKMR2+KWQ=";
|
||||
};
|
||||
|
||||
build-system = with python.pkgs; [
|
||||
@ -612,6 +550,12 @@ in python.pkgs.buildPythonApplication rec {
|
||||
src = ./patches/ffmpeg-path.patch;
|
||||
ffmpeg = "${lib.getBin ffmpeg-headless}/bin/ffmpeg";
|
||||
})
|
||||
|
||||
(fetchpatch2 {
|
||||
# https://github.com/home-assistant/core/pull/121135
|
||||
url = "https://github.com/home-assistant/core/commit/b6a23fad3537e0baa026b2a7eb5bff8a4246780b.patch";
|
||||
hash = "sha256-eXUc8PRAHgX2JJ4VuTuu1/UB14H6x3LyFNwjLCfADaY=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@ -662,6 +606,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
ulid-transform
|
||||
urllib3
|
||||
voluptuous
|
||||
voluptuous-openapi
|
||||
voluptuous-serialize
|
||||
yarl
|
||||
# REQUIREMENTS in homeassistant/auth/mfa_modules/totp.py and homeassistant/auth/mfa_modules/notify.py
|
||||
|
@ -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 = "20240610.1";
|
||||
version = "20240703.0";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-6XSDKPL+rbtP/jGYbvzc5cakEZC94sDetmPuM7TQQ64=";
|
||||
hash = "sha256-O6BpAQrMcP+h33tT2IxuupKo+5qkkDYXNwd6XCrj0CU=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "home-assistant-intents";
|
||||
version = "2024.6.21";
|
||||
version = "2024.7.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant";
|
||||
repo = "intents-package";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-tgbZqcxv/uFoNCGq7TySffhqQXzupZodQfQHBqkSHrE=";
|
||||
hash = "sha256-3JnBmSNa9Yrh+5QFQ6KIKZProxMuX+CyTZzqRUAlBcQ=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -42,6 +42,7 @@ PKG_PREFERENCES = {
|
||||
"fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466
|
||||
"HAP-python": "hap-python",
|
||||
"ollama-hass": "ollama",
|
||||
"sentry-sdk": "sentry-sdk",
|
||||
"slackclient": "slack-sdk",
|
||||
"SQLAlchemy": "sqlalchemy",
|
||||
"tensorflow": "tensorflow",
|
||||
|
@ -2509,6 +2509,8 @@ self: super: with self; {
|
||||
|
||||
convertdate = callPackage ../development/python-modules/convertdate { };
|
||||
|
||||
convertertools = callPackage ../development/python-modules/convertertools { };
|
||||
|
||||
cookiecutter = callPackage ../development/python-modules/cookiecutter { };
|
||||
|
||||
cookies = callPackage ../development/python-modules/cookies { };
|
||||
|
Loading…
Reference in New Issue
Block a user