home-assistant: 2024.11.3 -> 2024.12.1 (#363268)
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "zwave-js-server";
|
||||
version = "1.38.0";
|
||||
version = "1.40.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zwave-js";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-rAm/IPTnMUkwU/7Jzr0OEUDoKiUWxxEKZ21FxQW8sY8=";
|
||||
hash = "sha256-+S6sMJKmvi5P7eDEWtimArY1W/5IABl/cZkTqhDORgc=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-7dlXppXCmryxq90QI0Lq3CE6BUHSogTHmHBMCbkZWT0=";
|
||||
npmDepsHash = "sha256-HfxYR62r0D0LTmj4Lb+dCvD4tdpE8b7nmk5wki7vEM8=";
|
||||
|
||||
# For some reason the zwave-js dependency is in devDependencies
|
||||
npmFlags = [ "--include=dev" ];
|
||||
|
||||
@@ -51,6 +51,9 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "aioelectricitymaps" ];
|
||||
|
||||
# https://github.com/jpbede/aioelectricitymaps/pull/415
|
||||
pytestFlagsArray = [ "--snapshot-update" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for interacting with Electricity maps";
|
||||
homepage = "https://github.com/jpbede/aioelectricitymaps";
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiomealie";
|
||||
version = "0.9.3";
|
||||
version = "0.9.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "joostlek";
|
||||
repo = "python-mealie";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FJhmipWE3DE4PRWkEq8/j9iz9HQ7G7J5I9hwjU6e3FA=";
|
||||
hash = "sha256-Sl2n78R/twx4+liob4k0B1pskonYD7B00lo9hz45qIs=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioshelly";
|
||||
version = "12.0.1";
|
||||
version = "12.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "aioshelly";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-DO3y3tn+hsrTQfiBj3DtQG19SvIbXN7MuVPKlyZ4vP0=";
|
||||
hash = "sha256-QcVyWabELa1bB2MOwQNPItXLgeOXlFpRh69dS+m1FLI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
mashumaro,
|
||||
orjson,
|
||||
poetry-core,
|
||||
pythonOlder,
|
||||
websockets,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiostreammagic";
|
||||
version = "2.8.5";
|
||||
version = "2.10.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -21,17 +21,15 @@ buildPythonPackage rec {
|
||||
owner = "noahhusby";
|
||||
repo = "aiostreammagic";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-1/9cpdKRr7O4Ji34OSkbBudSedTAt50oGZBc88XNI18=";
|
||||
hash = "sha256-CFd8/nyE3hLbmzO/MJEnllIe2MvfD/jkGIpNdYxI8N0=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "websockets" ];
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
mashumaro
|
||||
orjson
|
||||
websockets
|
||||
yarl
|
||||
];
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioswitcher";
|
||||
version = "4.4.1";
|
||||
version = "5.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "TomerFi";
|
||||
repo = "aioswitcher";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-O1wKw6jv2aRPLZ2hSYv3MwneeNcjO+2/RKzQ7xXWHtY=";
|
||||
hash = "sha256-cKHH1yXVm/kZigO1Ub0XZEv+yq4lROc4SGFLqFuwQto=";
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
@@ -1,31 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
aenum,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "amberelectric";
|
||||
version = "1.1.1";
|
||||
version = "2.0.12";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-gxpFKIrGHpwjPdF0nnyruwCYf3bhrubdtXNx2+wEiZU=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "madpilot";
|
||||
repo = "amberelectric.py";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-HTelfgOucyQINz34hT3kGxhJf68pxKbiO3L54nt5New=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aenum
|
||||
urllib3
|
||||
pydantic
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "av";
|
||||
version = "13.0.0";
|
||||
version = "13.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "PyAV-Org";
|
||||
repo = "PyAV";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-blvtHSUqSl9xAM4t+dFJWmXiOjtnAUC9nicMaUY1zuU=";
|
||||
hash = "sha256-x2a9SC4uRplC6p0cD7fZcepFpRidbr6JJEEOaGSWl60=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bellows";
|
||||
version = "0.42.0";
|
||||
version = "0.42.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "bellows";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-knWCCshsFvnMXknzpzYLCqb/ADB1Vl4RH5PBbxD5WgE=";
|
||||
hash = "sha256-qLTlkdX0nPTUEkVBgzStbYYAi6XpGIfs/KvC/EC8svE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deebot-client";
|
||||
version = "8.4.1";
|
||||
version = "9.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "DeebotUniverse";
|
||||
repo = "client.py";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-lOKih1TzZRP4HIGzjmCkALtaz5s/lR2SjjqCnBK0G6Y=";
|
||||
hash = "sha256-M1O0fSfli/kktfR+RB0pLCiUPriml+NQYbNFa0KZmRE=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
buildPythonPackage,
|
||||
fastimport,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
gevent,
|
||||
geventhttpclient,
|
||||
git,
|
||||
@@ -12,7 +11,7 @@
|
||||
gnupg,
|
||||
gpgme,
|
||||
paramiko,
|
||||
unittestCheckHook,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
setuptools-rust,
|
||||
@@ -20,17 +19,17 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.22.5";
|
||||
pname = "dulwich";
|
||||
format = "setuptools";
|
||||
version = "0.22.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jelmer";
|
||||
repo = "dulwich";
|
||||
rev = "refs/tags/dulwich-${version}";
|
||||
hash = "sha256-/YqC7y8PU+H2qjPqqzdw6iSSSElK709izLTcs9qbt1I=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-sE5du5Nv2AOyiBpQ2hDJss1dVSVBzWypnGWk3/hI8UI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -58,17 +57,21 @@ buildPythonPackage rec {
|
||||
geventhttpclient
|
||||
git
|
||||
glibcLocales
|
||||
unittestCheckHook
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
preCheck = ''
|
||||
# requires swift config file
|
||||
rm tests/contrib/test_swift_smoke.py
|
||||
pytestFlagsArray = [ "tests" ];
|
||||
|
||||
# ImportError: attempted relative import beyond top-level package
|
||||
rm tests/test_greenthreads.py
|
||||
'';
|
||||
disabledTests = [
|
||||
# AssertionError: 'C:\\\\foo.bar\\\\baz' != 'C:\\foo.bar\\baz'
|
||||
"test_file_win"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# requires swift config file
|
||||
"tests/contrib/test_swift_smoke.py"
|
||||
];
|
||||
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "elmax-api";
|
||||
version = "0.0.6.2";
|
||||
version = "0.0.6.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "albertogeniola";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-71ewBzAMWncvgXII2VAcbSDwudxqA+MBCl+TCCwTxa4=";
|
||||
hash = "sha256-jnm1AFnPxZIgD815ZFxV/i9ar4cZfsYJ0+xDpM3hKmg=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fyta-cli";
|
||||
version = "0.6.10";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "dontinelli";
|
||||
repo = "fyta_cli";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-sPbN6gMPtNzYTYQ5F8w59m5DKobx/TV6v5v8Q9u1rXQ=";
|
||||
hash = "sha256-OgpQh7WyZynFd308TjIGkQNoy8TFu9gynbDiLueqB/0=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -55,6 +55,8 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
"test_clip_preview_transcode"
|
||||
"test_event_manager_event_expiration_with_transcode"
|
||||
# AssertionError: assert '12345' == 12345
|
||||
"test_info_traits_type_error"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
let
|
||||
pname = "hassil";
|
||||
version = "1.7.4";
|
||||
version = "2.0.5";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
@@ -28,8 +28,8 @@ buildPythonPackage {
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant";
|
||||
repo = "hassil";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-FRP5iVE2KBiHVriWhnYxWFff0y4q2/gC9iO8ZzN3AbI=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-e6Y0GGURGKzbX1dniBbYEJB9K3/R84n3UmnMO0HPPPo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hdate";
|
||||
version = "0.10.11";
|
||||
version = "0.11.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "py-libhdate";
|
||||
repo = "py-libhdate";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-HmdXTvtNiIE2XPFhqs7WpcceEQU7F7RsLFp6/+63yDw=";
|
||||
hash = "sha256-Il20aKOPQi4J4hWQEMEQOnLdBSHCOu214YE6pxeYbfI=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mashumaro";
|
||||
version = "3.14";
|
||||
version = "3.15";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "Fatal1ty";
|
||||
repo = "mashumaro";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-0THj22KdMvD5O3dNwXKxs2wRIJziPmojLo4BPa3fZ3Y=";
|
||||
hash = "sha256-Zv2FijxYOLGflJ3bc3udkM3SXgHHzHIeCGHlfybyLGE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "millheater";
|
||||
version = "0.12.0";
|
||||
version = "0.12.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -18,8 +18,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "Danielhiversen";
|
||||
repo = "pymill";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-8PrTypJuWNuFz1NZLuyqOpWFsN5OLshj7S10YgcGusQ=";
|
||||
tag = "012.2"; # https://github.com/Danielhiversen/pymill/issues/87
|
||||
hash = "sha256-tR6MZIgCazGcXRIaSXyDYIEp+kD6xyrpOXORbi8LV7E=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
aiohttp,
|
||||
music-assistant-models,
|
||||
orjson,
|
||||
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "music-assistant-client";
|
||||
version = "1.0.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "music-assistant";
|
||||
repo = "client";
|
||||
rev = version;
|
||||
hash = "sha256-QE2PQeXCAq7+iMomCZK+UmrPUApJxwKi/pzCaLJVS/4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
music-assistant-models
|
||||
orjson
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
pythonImportsCheck = [
|
||||
"music_assistant_client"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python client to interact with the Music Assistant Server API";
|
||||
homepage = "https://github.com/music-assistant/client";
|
||||
changelog = "https://github.com/music-assistant/client/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
mashumaro,
|
||||
orjson,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "music-assistant-models";
|
||||
version = "1.1.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "music-assistant";
|
||||
repo = "models";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FbnwUfAwCwwBKqEUtb2ZBxHehFwJdr9YkuWKox018BY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "0.0.0" "${version}"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
mashumaro
|
||||
orjson
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"music_assistant_models"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Models used by Music Assistant (shared by client and server";
|
||||
homepage = "https://github.com/music-assistant/models";
|
||||
changelog = "https://github.com/music-assistant/models/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plugwise";
|
||||
version = "1.6.2";
|
||||
version = "1.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "plugwise";
|
||||
repo = "python-plugwise";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-rVal/w7ZPKjdCXTeCy6NHDlrCaKDdmJkeusUdW0BRXI=";
|
||||
hash = "sha256-+pnKcjqS9kIRjC2YRynOqTjTuAXRYOthYWC/CKDqSNc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
deepdiff,
|
||||
fetchFromGitHub,
|
||||
ifaddr,
|
||||
mediafile,
|
||||
miniaudio,
|
||||
protobuf,
|
||||
pydantic,
|
||||
@@ -19,7 +18,6 @@
|
||||
pytest-timeout,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
srptools,
|
||||
@@ -34,8 +32,6 @@ buildPythonPackage rec {
|
||||
version = "0.16.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "postlund";
|
||||
repo = "pyatv";
|
||||
@@ -55,7 +51,6 @@ buildPythonPackage rec {
|
||||
"chacha20poly1305-reuseable"
|
||||
"cryptography"
|
||||
"ifaddr"
|
||||
"mediafile"
|
||||
"miniaudio"
|
||||
"protobuf"
|
||||
"requests"
|
||||
@@ -71,7 +66,6 @@ buildPythonPackage rec {
|
||||
chacha20poly1305-reuseable
|
||||
cryptography
|
||||
ifaddr
|
||||
mediafile
|
||||
miniaudio
|
||||
protobuf
|
||||
pydantic
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydeako";
|
||||
version = "0.5.4";
|
||||
version = "0.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "DeakoLights";
|
||||
repo = "pydeako";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Z0H5VhWfjmvvCGTX//hds9dwk2wJSPXckNac1PkQZNA=";
|
||||
hash = "sha256-GEYuVKE3DOXJzCqTW2Ngoi6l0e4JvE9lUnZtjrNXTVk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
hatchling,
|
||||
aiohttp,
|
||||
regex,
|
||||
requests,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysuez";
|
||||
version = "0.2.2";
|
||||
version = "1.3.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -18,15 +18,15 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "jb101010-2";
|
||||
repo = "pySuez";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+pLknJDF0SsC6OsmP64D/yZeu0sGNtKo8EBGlDewBug=";
|
||||
tag = version;
|
||||
hash = "sha256-aThZN5Ece9zzEICjLj2HmYoLwDhd7rft3Il3kM73h7M=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
regex
|
||||
requests
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-bsblan";
|
||||
version = "0.6.4";
|
||||
version = "1.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "liudger";
|
||||
repo = "python-bsblan";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-mOVX65YRDUac0GoB9+tHIYtvNDGyxT0BSsj8I3OzuBI=";
|
||||
hash = "sha256-b+/Cy8F2xUsYOr8PGQxkdXD07pAECNmbeWbuysSAT2I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
multidict,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
syrupy,
|
||||
@@ -16,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-homewizard-energy";
|
||||
version = "6.3.0";
|
||||
version = "7.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -24,8 +25,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "DCSBL";
|
||||
repo = "python-homewizard-energy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-etbYZKTNdlQCDc7LXir4D7LtRzYx9jhXZc1bJvsEb8E=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-HYfp4CSytRl46BWp5hdQFVf9avUwRcy0lqmqRK3lhdo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -47,6 +48,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
asyncclick,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
kasa-crypt,
|
||||
mashumaro,
|
||||
orjson,
|
||||
ptpython,
|
||||
pydantic,
|
||||
pytest-asyncio,
|
||||
pytest-freezer,
|
||||
pytest-mock,
|
||||
pytest-socket,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
rich,
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-kasa";
|
||||
version = "0.7.7";
|
||||
version = "0.8.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -31,18 +31,17 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-kasa";
|
||||
repo = "python-kasa";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-405FrKG1jZNrxTmz/K8vqwPhiOqrxURWVCpyFQRJeXc=";
|
||||
tag = version;
|
||||
hash = "sha256-4P66mFaDg7A9FHqWRUN5NV7nQhMTu3gU+gR2tHWHalU=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
asyncclick
|
||||
cryptography
|
||||
pydantic
|
||||
mashumaro
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -50,6 +49,7 @@ buildPythonPackage rec {
|
||||
pytest-freezer
|
||||
pytest-mock
|
||||
pytest-socket
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
voluptuous
|
||||
];
|
||||
@@ -69,7 +69,7 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTestPaths = [
|
||||
# Skip the examples tests
|
||||
"kasa/tests/test_readme_examples.py"
|
||||
"tests/test_readme_examples.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "kasa" ];
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-tado";
|
||||
version = "0.17.6";
|
||||
version = "0.17.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "wmalgadey";
|
||||
repo = "PyTado";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-KcYxUKQuO7TLS4YPg2mrBjP+DMnvZeJokGzwmeM/CvE=";
|
||||
hash = "sha256-WpGznYNVpis1pM9PRXHnQVev3JW6baUT5J9iPxwd0Uk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytrafikverket";
|
||||
version = "1.0.0";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-qvJbAE5C19RSg5p823sCJ/dWIHBSD4kJrw/p8PF2HkI=";
|
||||
hash = "sha256-yfo36fAVC2LaresQ1QcXq2EGhGtkVzNbWvD6lynhusQ=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -32,6 +32,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "pyzipper" ];
|
||||
|
||||
doCheck = pythonOlder "3.13"; # depends on removed nntplib battery
|
||||
|
||||
disabledTests = [
|
||||
# Tests are parsing CLI output
|
||||
"test_args_from_interpreter_flags"
|
||||
|
||||
@@ -49,6 +49,13 @@ buildPythonPackage rec {
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# TypeError: RaisesGroup.__init__() got an unexpected keyword argument 'strict'
|
||||
# https://github.com/python-trio/trio-asyncio/issues/154
|
||||
"test_run_trio_task_errors"
|
||||
"test_cancel_loop_with_tasks"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-trio
|
||||
pytestCheckHook
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uiprotect";
|
||||
version = "6.4.0";
|
||||
version = "6.6.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -48,7 +48,7 @@ buildPythonPackage rec {
|
||||
owner = "uilibs";
|
||||
repo = "uiprotect";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-+BHxcwQhx4lOqS0ATk1PjLbyTu7xQakM3HMrydXeGUc=";
|
||||
hash = "sha256-ZohQTXOLc2E0vfD21IUh6ECTfbAd2SZOg/73lk/UMO0=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
@@ -97,6 +97,11 @@ buildPythonPackage rec {
|
||||
"test_bootstrap"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# hangs the test suite
|
||||
"tests/test_api_ws.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "uiprotect" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unicode-rbnf";
|
||||
version = "1.2.0";
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "unicode-rbnf";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-dAoDO707qmdDzCbi7EWNaM9txdBV46NlLkOs7xyycz0=";
|
||||
hash = "sha256-1kq8qTzFYYRRjlxBdvIiBuXbprA0bF4zMFOVbpgCR3c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webrtc-models";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "python-webrtc-models";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-6fVcp9kWr5nV4wOKov3ObqyPJo+u3jN443qv++sJ0TQ=";
|
||||
hash = "sha256-WZPI7vYlfsihskRtrh4XJGx0JSDwn7JIJ8CL3jlryrA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.136.0";
|
||||
version = "0.136.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "jstasiak";
|
||||
repo = "python-zeroconf";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-q1Dk2lUiChjDFJeRCUqkPAIO1I+PsnvuLSx6UgXHPU4=";
|
||||
hash = "sha256-gSoxrG+5LCI0DCEGqrQvzFfnKhlJV5kyqLH6IrN7Zjs=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha-quirks";
|
||||
version = "0.0.124";
|
||||
version = "0.0.125";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zha-device-handlers";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-dRO5fbvFMy3g/3wxGvVHJ5lPwyWOpnZ/0Qz5wM6Rii8=";
|
||||
hash = "sha256-Tqt+ydp7Vr3pWBQ0T5B0CV+bfX+0yRXynEhD01afY/w=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha";
|
||||
version = "0.0.39";
|
||||
version = "0.0.41";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zha";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-75R2Ah5L5wjIwGrUeifujiuAo4GhpXbu8EbqAPImjQU=";
|
||||
hash = "sha256-qtv61rh6qwsjBjUHJ5RWnFWBiPOUW03dRAHO2mq/4II=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -105,11 +105,6 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTestPaths = [ "tests/test_cluster_handlers.py" ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-v"
|
||||
"--timeout=5"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Zigbee Home Automation";
|
||||
homepage = "https://github.com/zigpy/zha";
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "0.72.0";
|
||||
version = "0.73.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-q8YyAFBhY60ZK8tHSJnTU6gbDP3ifT1MAAbpYf3EIJA=";
|
||||
hash = "sha256-Fb5rZhxd93QY0TYJTTLXEaqlxk3JdlIOun5FB7wJbSE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zwave-js-server-python";
|
||||
version = "0.58.1";
|
||||
version = "0.59.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "zwave-js-server-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-hszt14ymZQsUg0zfJ7+cY08DlXNaWzxKwV/i4i29DtI=";
|
||||
hash = "sha256-7TbGRPGIpS8T0bmEIiRHChvdiKqTKccnkl0YVoQHfdE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -2,13 +2,38 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2024.11.3";
|
||||
version = "2024.12.1";
|
||||
components = {
|
||||
"3_day_blinds" = ps: with ps; [
|
||||
];
|
||||
"abode" = ps: with ps; [
|
||||
jaraco-abode
|
||||
];
|
||||
"acaia" = ps: with ps; [
|
||||
aioacaia
|
||||
aioesphomeapi
|
||||
aioruuvigateway
|
||||
aioshelly
|
||||
bleak
|
||||
bleak-esphome
|
||||
bleak-retry-connector
|
||||
bluetooth-adapters
|
||||
bluetooth-auto-recovery
|
||||
bluetooth-data-tools
|
||||
dbus-fast
|
||||
esphome-dashboard-api
|
||||
ha-ffmpeg
|
||||
habluetooth
|
||||
hassil
|
||||
home-assistant-intents
|
||||
ifaddr
|
||||
mutagen
|
||||
pymicro-vad
|
||||
pyserial
|
||||
pyspeex-noise
|
||||
pyudev
|
||||
zeroconf
|
||||
];
|
||||
"accuweather" = ps: with ps; [
|
||||
accuweather
|
||||
];
|
||||
@@ -699,7 +724,7 @@
|
||||
jsonpath
|
||||
];
|
||||
"compensation" = ps: with ps; [
|
||||
numpy_1
|
||||
numpy
|
||||
];
|
||||
"concord232" = ps: with ps; [
|
||||
]; # missing inputs: concord232
|
||||
@@ -800,7 +825,7 @@
|
||||
home-assistant-intents
|
||||
ifaddr
|
||||
mutagen
|
||||
numpy_1
|
||||
numpy
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pymicro-vad
|
||||
@@ -2077,7 +2102,7 @@
|
||||
pyipp
|
||||
];
|
||||
"iqvia" = ps: with ps; [
|
||||
numpy_1
|
||||
numpy
|
||||
pyiqvia
|
||||
];
|
||||
"irish_rail_transport" = ps: with ps; [
|
||||
@@ -2300,12 +2325,13 @@
|
||||
home-assistant-intents
|
||||
ifaddr
|
||||
mutagen
|
||||
pylamarzocco
|
||||
pymicro-vad
|
||||
pyserial
|
||||
pyspeex-noise
|
||||
pyudev
|
||||
zeroconf
|
||||
]; # missing inputs: lmcloud
|
||||
];
|
||||
"lametric" = ps: with ps; [
|
||||
demetriek
|
||||
];
|
||||
@@ -2869,6 +2895,9 @@
|
||||
"mullvad" = ps: with ps; [
|
||||
mullvad-api
|
||||
];
|
||||
"music_assistant" = ps: with ps; [
|
||||
music-assistant-client
|
||||
];
|
||||
"mutesync" = ps: with ps; [
|
||||
mutesync
|
||||
];
|
||||
@@ -2905,6 +2934,8 @@
|
||||
"nanoleaf" = ps: with ps; [
|
||||
aionanoleaf
|
||||
];
|
||||
"nasweb" = ps: with ps; [
|
||||
]; # missing inputs: webio-api
|
||||
"neato" = ps: with ps; [
|
||||
pybotvac
|
||||
];
|
||||
@@ -3000,6 +3031,9 @@
|
||||
"nobo_hub" = ps: with ps; [
|
||||
pynobo
|
||||
];
|
||||
"nordpool" = ps: with ps; [
|
||||
pynordpool
|
||||
];
|
||||
"norway_air" = ps: with ps; [
|
||||
pymetno
|
||||
];
|
||||
@@ -3967,6 +4001,9 @@
|
||||
"sky_hub" = ps: with ps; [
|
||||
pyskyqhub
|
||||
];
|
||||
"sky_remote" = ps: with ps; [
|
||||
skyboxremote
|
||||
];
|
||||
"skybeacon" = ps: with ps; [
|
||||
pygatt
|
||||
]
|
||||
@@ -4178,7 +4215,7 @@
|
||||
];
|
||||
"stream" = ps: with ps; [
|
||||
av
|
||||
numpy_1
|
||||
numpy
|
||||
pyturbojpeg
|
||||
];
|
||||
"streamlabswater" = ps: with ps; [
|
||||
@@ -4324,8 +4361,7 @@
|
||||
xmltodict
|
||||
];
|
||||
"tedee" = ps: with ps; [
|
||||
pytedee-async
|
||||
];
|
||||
]; # missing inputs: aiotedee
|
||||
"telegram" = ps: with ps; [
|
||||
python-telegram-bot
|
||||
]
|
||||
@@ -4347,7 +4383,7 @@
|
||||
"template" = ps: with ps; [
|
||||
];
|
||||
"tensorflow" = ps: with ps; [
|
||||
numpy_1
|
||||
numpy
|
||||
pillow
|
||||
pycocotools
|
||||
tensorflow
|
||||
@@ -4568,7 +4604,7 @@
|
||||
"travisci" = ps: with ps; [
|
||||
]; # missing inputs: TravisPy
|
||||
"trend" = ps: with ps; [
|
||||
numpy_1
|
||||
numpy
|
||||
];
|
||||
"triggercmd" = ps: with ps; [
|
||||
]; # missing inputs: triggercmd
|
||||
@@ -4659,7 +4695,7 @@
|
||||
aio-geojson-usgs-earthquakes
|
||||
];
|
||||
"utility_meter" = ps: with ps; [
|
||||
croniter
|
||||
cronsim
|
||||
];
|
||||
"uvc" = ps: with ps; [
|
||||
uvcclient
|
||||
@@ -5062,6 +5098,7 @@
|
||||
# components listed in tests/components for which all dependencies are packaged
|
||||
supportedComponentsWithTests = [
|
||||
"abode"
|
||||
"acaia"
|
||||
"accuweather"
|
||||
"acmeda"
|
||||
"adax"
|
||||
@@ -5457,6 +5494,7 @@
|
||||
"kostal_plenticore"
|
||||
"kraken"
|
||||
"kulersky"
|
||||
"lamarzocco"
|
||||
"lametric"
|
||||
"landisgyr_heat_meter"
|
||||
"lastfm"
|
||||
@@ -5549,6 +5587,7 @@
|
||||
"mqtt_room"
|
||||
"mqtt_statestream"
|
||||
"mullvad"
|
||||
"music_assistant"
|
||||
"mutesync"
|
||||
"my"
|
||||
"myq"
|
||||
@@ -5578,6 +5617,7 @@
|
||||
"nmap_tracker"
|
||||
"no_ip"
|
||||
"nobo_hub"
|
||||
"nordpool"
|
||||
"notify"
|
||||
"notify_events"
|
||||
"notion"
|
||||
@@ -5741,6 +5781,7 @@
|
||||
"simplisafe"
|
||||
"simulated"
|
||||
"siren"
|
||||
"sky_remote"
|
||||
"skybell"
|
||||
"slack"
|
||||
"sleepiq"
|
||||
@@ -5815,7 +5856,6 @@
|
||||
"tautulli"
|
||||
"tcp"
|
||||
"technove"
|
||||
"tedee"
|
||||
"telegram"
|
||||
"telegram_bot"
|
||||
"tellduslive"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "hg1337";
|
||||
domain = "dwd";
|
||||
version = "2024.9.0";
|
||||
version = "2024.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hg1337";
|
||||
repo = "homeassistant-dwd";
|
||||
rev = version;
|
||||
hash = "sha256-9zS6ufy7tYt1KwFeqdg0Az8xz3x5UzU9ZO9aOyWjdQE=";
|
||||
hash = "sha256-v5xSIUW8EMTdLY66yZ31cR/1DWVvn85CfIl/Y4xpXiw=";
|
||||
};
|
||||
|
||||
dependencies = [ defusedxml ];
|
||||
|
||||
@@ -161,15 +161,6 @@ let
|
||||
doCheck = false; # no tests
|
||||
});
|
||||
|
||||
plugwise = super.plugwise.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.4.4";
|
||||
src = fetchFromGitHub {
|
||||
inherit (oldAttrs.src) owner repo;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-dlDytOSp/7npanxXH5uaDv29AP21UciEzIzDlMf6jf8=";
|
||||
};
|
||||
});
|
||||
|
||||
# Pinned due to API changes in 0.1.0
|
||||
poolsense = super.poolsense.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.0.8";
|
||||
@@ -235,6 +226,21 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
pylamarzocco = super.pylamarzocco.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.2.12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zweckj";
|
||||
repo = "pylamarzocco";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-h3Oh1y1tirOWh3I8piybLZfTKwyGk0zJJ6XmHvmbUW0=";
|
||||
};
|
||||
dependencies = with self; [
|
||||
bleak
|
||||
httpx
|
||||
websockets
|
||||
];
|
||||
});
|
||||
|
||||
pymodbus = super.pymodbus.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.6.9";
|
||||
src = fetchFromGitHub {
|
||||
@@ -264,6 +270,16 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
python-linkplay = super.python-linkplay.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.0.20";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Velleman";
|
||||
repo = "python-linkplay";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-UIWubFLHtf43co/aYXh3rxkjLJ77E+Sgkx25UFC5vcg=";
|
||||
};
|
||||
});
|
||||
|
||||
# newer versions require pydantic>=2
|
||||
python-on-whales = super.python-on-whales.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.72.0";
|
||||
@@ -441,7 +457,7 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run update-component-packages.py after updating
|
||||
hassVersion = "2024.11.3";
|
||||
hassVersion = "2024.12.1";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@@ -459,13 +475,13 @@ in python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-9b4HPSCPYUUwKxn0JBw5uN6nI97jvgqBHFRUNhDue/k=";
|
||||
hash = "sha256-Gmm8PfgxJYlTEGYKcteSMFbxDWFqmZ/Gt0qbuMe7oHg=";
|
||||
};
|
||||
|
||||
# Secondary source is pypi sdist for translations
|
||||
sdist = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-W7Z6C3kMyEIkY/3zQHm1OMMN7Tuj3ThsubLo6KjVotw=";
|
||||
hash = "sha256-oQ53syzdVjd8HiO83YloDczDXDweZY4muAFB4HR8SJQ=";
|
||||
};
|
||||
|
||||
build-system = with python.pkgs; [
|
||||
@@ -509,6 +525,8 @@ in python.pkgs.buildPythonApplication rec {
|
||||
src = ./patches/ffmpeg-path.patch;
|
||||
ffmpeg = "${lib.getExe ffmpeg-headless}";
|
||||
})
|
||||
|
||||
./patches/watchdog5-compat.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@@ -551,6 +569,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
python-slugify
|
||||
pyyaml
|
||||
requests
|
||||
securetar
|
||||
sqlalchemy
|
||||
typing-extensions
|
||||
ulid-transform
|
||||
|
||||
@@ -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 = "20241106.2";
|
||||
version = "20241127.6";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-9Il9/lHKIaymw7H8fL1gpp80+VzSqVJ1IyHGEa3OoO8=";
|
||||
hash = "sha256-wNIkAuedlgHO05rGnxJHFOH2W5eQ45yGWK+tjLRLERo=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "home-assistant-intents";
|
||||
version = "2024.11.6";
|
||||
version = "2024.12.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
repo = "intents-package";
|
||||
rev = "refs/tags/${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-C2q0mUdA6VGKPHtG2g9Zi0nPvwWP1LAdepJCRkF4ky8=";
|
||||
hash = "sha256-5mSMezDPJmDaWdL5GeoED3CzjoJRU1CoDZL+6bK7x2Q=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/homeassistant/components/folder_watcher/__init__.py b/homeassistant/components/folder_watcher/__init__.py
|
||||
index 3aeaa6f7ef2..f5c2db513b7 100644
|
||||
--- a/homeassistant/components/folder_watcher/__init__.py
|
||||
+++ b/homeassistant/components/folder_watcher/__init__.py
|
||||
@@ -68,7 +68,7 @@ class EventHandler(PatternMatchingEventHandler):
|
||||
|
||||
def __init__(self, patterns: list[str], hass: HomeAssistant, entry_id: str) -> None:
|
||||
"""Initialise the EventHandler."""
|
||||
- super().__init__(patterns)
|
||||
+ super().__init__(patterns=patterns)
|
||||
self.hass = hass
|
||||
self.entry_id = entry_id
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-homeassistant-custom-component";
|
||||
version = "0.13.180";
|
||||
version = "0.13.191";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "MatthewFlamm";
|
||||
repo = "pytest-homeassistant-custom-component";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-OLCGoZ5C39D4yYJagowO914qJlQcJVScm/a1ZbR2alM=";
|
||||
hash = "sha256-Fm7Sg5u5rkCQFGHnOWimRM4X0EB4xGwY59gdgA1ZFBA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homeassistant-stubs";
|
||||
version = "2024.11.3";
|
||||
version = "2024.12.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python.version != home-assistant.python.version;
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "KapJI";
|
||||
repo = "homeassistant-stubs";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-wctoMEduYZxGiSNgZWq4OPgBaiykwTY7FP8PhRsMh0I=";
|
||||
hash = "sha256-j00wgk4oHZXNAJkosppVXMprDKeqvDMt+aq0MDms1gA=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -42,7 +42,7 @@ PKG_PREFERENCES = {
|
||||
"fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466
|
||||
"HAP-python": "hap-python",
|
||||
"ha-av": "av",
|
||||
"numpy": "numpy_1",
|
||||
"numpy": "numpy",
|
||||
"ollama-hass": "ollama",
|
||||
"paho-mqtt": "paho-mqtt_1",
|
||||
"pysuezV2": "pysuez",
|
||||
|
||||
@@ -8503,6 +8503,10 @@ self: super: with self; {
|
||||
|
||||
muscima = callPackage ../development/python-modules/muscima { };
|
||||
|
||||
music-assistant-client = callPackage ../development/python-modules/music-assistant-client { };
|
||||
|
||||
music-assistant-models = callPackage ../development/python-modules/music-assistant-models { };
|
||||
|
||||
musicbrainzngs = callPackage ../development/python-modules/musicbrainzngs { };
|
||||
|
||||
music-tag = callPackage ../development/python-modules/music-tag { };
|
||||
|
||||
Reference in New Issue
Block a user