Skip to content

Commit

Permalink
home-assistant: 2024.11.3 -> 2024.12.1 (#363268)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Dec 9, 2024
2 parents dc3b78a + 792c921 commit 648719e
Show file tree
Hide file tree
Showing 49 changed files with 346 additions and 146 deletions.
6 changes: 3 additions & 3 deletions pkgs/by-name/zw/zwave-js-server/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aiomealie/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

buildPythonPackage rec {
pname = "aiomealie";
version = "0.9.3";
version = "0.9.4";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -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 ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aioshelly/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

buildPythonPackage rec {
pname = "aioshelly";
version = "12.0.1";
version = "12.1.0";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -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 ];
Expand Down
10 changes: 4 additions & 6 deletions pkgs/development/python-modules/aiostreammagic/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aioswitcher/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

buildPythonPackage rec {
pname = "aioswitcher";
version = "4.4.1";
version = "5.0.0";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -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;
Expand Down
22 changes: 14 additions & 8 deletions pkgs/development/python-modules/amberelectric/default.nix
Original file line number Diff line number Diff line change
@@ -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
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/av/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

buildPythonPackage rec {
pname = "av";
version = "13.0.0";
version = "13.1.0";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -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 = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/bellows/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

buildPythonPackage rec {
pname = "bellows";
version = "0.42.0";
version = "0.42.2";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "bellows";
rev = "refs/tags/${version}";
hash = "sha256-knWCCshsFvnMXknzpzYLCqb/ADB1Vl4RH5PBbxD5WgE=";
hash = "sha256-qLTlkdX0nPTUEkVBgzStbYYAi6XpGIfs/KvC/EC8svE=";
};

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/deebot-client/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

buildPythonPackage rec {
pname = "deebot-client";
version = "8.4.1";
version = "9.2.0";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -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 = [
Expand Down
29 changes: 16 additions & 13 deletions pkgs/development/python-modules/dulwich/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,32 @@
buildPythonPackage,
fastimport,
fetchFromGitHub,
fetchpatch2,
gevent,
geventhttpclient,
git,
glibcLocales,
gnupg,
gpgme,
paramiko,
unittestCheckHook,
pytestCheckHook,
pythonOlder,
setuptools,
setuptools-rust,
urllib3,
}:

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 = [
Expand Down Expand Up @@ -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" ];

disabledTests = [
# AssertionError: 'C:\\\\foo.bar\\\\baz' != 'C:\\foo.bar\\baz'
"test_file_win"
];

# ImportError: attempted relative import beyond top-level package
rm tests/test_greenthreads.py
'';
disabledTestPaths = [
# requires swift config file
"tests/contrib/test_swift_smoke.py"
];

doCheck = !stdenv.hostPlatform.isDarwin;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/elmax-api/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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 ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/fyta-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

buildPythonPackage rec {
pname = "fyta-cli";
version = "0.6.10";
version = "0.7.0";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -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 ];
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/google-nest-sdm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/hassil/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

let
pname = "hassil";
version = "1.7.4";
version = "2.0.5";
in
buildPythonPackage {
inherit pname version;
Expand All @@ -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 ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/hdate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

buildPythonPackage rec {
pname = "hdate";
version = "0.10.11";
version = "0.11.1";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -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 = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/mashumaro/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

buildPythonPackage rec {
pname = "mashumaro";
version = "3.14";
version = "3.15";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "Fatal1ty";
repo = "mashumaro";
rev = "refs/tags/v${version}";
hash = "sha256-0THj22KdMvD5O3dNwXKxs2wRIJziPmojLo4BPa3fZ3Y=";
hash = "sha256-Zv2FijxYOLGflJ3bc3udkM3SXgHHzHIeCGHlfybyLGE=";
};

build-system = [ setuptools ];
Expand Down
Loading

0 comments on commit 648719e

Please sign in to comment.