Skip to content

Commit

Permalink
Merge pull request #333095 from NixOS/home-assistant
Browse files Browse the repository at this point in the history
home-assistant: 2024.7.4 -> 2024.8.0
  • Loading branch information
mweinelt authored Aug 9, 2024
2 parents 7b86eb6 + c7268a2 commit 8c9bf98
Show file tree
Hide file tree
Showing 72 changed files with 1,200 additions and 888 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/aioairzone-cloud/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

buildPythonPackage rec {
pname = "aioairzone-cloud";
version = "0.5.5";
version = "0.6.1";
pyproject = true;

disabled = pythonOlder "3.7";
disabled = pythonOlder "3.11";

src = fetchFromGitHub {
owner = "Noltari";
repo = "aioairzone-cloud";
rev = "refs/tags/${version}";
hash = "sha256-8IMEolbeXzqUHo139B9hu4FwelLZ4ENEDLHcaUjU/KE=";
hash = "sha256-0aqY8Bg/kDSaNGSQ8hrlUQpfwYM3sVxQHm75/khgRTM=";
};

build-system = [ setuptools ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aioairzone/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

buildPythonPackage rec {
pname = "aioairzone";
version = "0.7.7";
version = "0.8.1";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "Noltari";
repo = "aioairzone";
rev = "refs/tags/${version}";
hash = "sha256-0YChwHxxINwvhOAmDPn0IUMOItMDDRx6mGbsz6uSIEU=";
hash = "sha256-mi8zRnZ9fZEOzX+ZqKsQ+OpvzGRKa4qyInENh+KVoNg=";
};

nativeBuildInputs = [ setuptools ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aioautomower/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

buildPythonPackage rec {
pname = "aioautomower";
version = "2024.6.4";
version = "2024.7.3";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "Thomas55555";
repo = "aioautomower";
rev = "refs/tags/${version}";
hash = "sha256-v+wg/2JRBJ0VgRYOey92WGwVzHmxU9h/ev2oICefaMg=";
hash = "sha256-tjdpQglhg78DsmtIHo5QDsP1U8f0fnaasF0IYUtrGh4=";
};

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

buildPythonPackage rec {
pname = "aiobotocore";
version = "2.13.0";
version = "2.13.1";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "aio-libs";
repo = "aiobotocore";
rev = "refs/tags/${version}";
hash = "sha256-8fsZCmzjM6JlX3HoRGt7zsezYIXnv411kkHG8rJqMuY=";
hash = "sha256-tSxCRms/YstYXWCJWirzhf87ZH4WUav/n7QfMvBwj2s=";
};

# Relax version constraints: aiobotocore works with newer botocore versions
Expand Down
6 changes: 4 additions & 2 deletions pkgs/development/python-modules/aioesphomeapi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

buildPythonPackage rec {
pname = "aioesphomeapi";
version = "24.6.1";
version = "25.0.0";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -35,14 +35,16 @@ buildPythonPackage rec {
owner = "esphome";
repo = "aioesphomeapi";
rev = "refs/tags/v${version}";
hash = "sha256-wvfAkV+EjGytPog3ik7NAC0rW8nkHufenGfapeQr1X0=";
hash = "sha256-XV7hVBtruQxhJ154/hPrsjqxwI9nBfBgvcgGWW6BBKk=";
};

build-system = [
setuptools
cython
];

pythonRelaxDeps = [ "cryptography" ];

dependencies = [
aiohappyeyeballs
async-interrupt
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aiohomekit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

buildPythonPackage rec {
pname = "aiohomekit";
version = "3.1.5";
version = "3.2.1";
pyproject = true;

disabled = pythonOlder "3.10";
Expand All @@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "Jc2k";
repo = "aiohomekit";
rev = "refs/tags/${version}";
hash = "sha256-F3PhZsuIgT3x1Y3/kx9juPwN2WKxvdbahrRm+r6ZPps=";
hash = "sha256-bv+xt6rp3cs8FhAw8b8Que5ABeD5+7z+LOb5C1PbzXI=";
};

nativeBuildInputs = [ poetry-core ];
Expand Down

This file was deleted.

13 changes: 4 additions & 9 deletions pkgs/development/python-modules/aiolifx-themes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
}:

buildPythonPackage rec {
pname = "aiolifx-themes";
version = "0.4.27";
version = "0.5.1";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -21,16 +22,9 @@ buildPythonPackage rec {
owner = "Djelibeybi";
repo = "aiolifx-themes";
rev = "refs/tags/v${version}";
hash = "sha256-5wUyp1g1O0Ar+2sE+/XSi7l9CmvGLgT1b0IWI4bnTbg=";
hash = "sha256-mqYFLn+QrFCt8t5XUm0sfJxCRfqC20RFnhdzQMQUXbk=";
};

prePatch = ''
# Don't run coverage, or depend on typer for no reason.
substituteInPlace pyproject.toml \
--replace-fail " --cov=aiolifx_themes --cov-report=term-missing:skip-covered" "" \
--replace-fail "typer = " "# unused: typer = "
'';

build-system = [ poetry-core ];

dependencies = [ aiolifx ];
Expand All @@ -39,6 +33,7 @@ buildPythonPackage rec {
async-timeout
pytestCheckHook
pytest-asyncio
pytest-cov-stub
];

pythonImportsCheck = [ "aiolifx_themes" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/aioqsw/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

buildPythonPackage rec {
pname = "aioqsw";
version = "0.3.5";
version = "0.4.0";
format = "pyproject";

disabled = pythonOlder "3.11";
Expand All @@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "Noltari";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-kSwTHwVSMGyXA0SF74f9gyBN82XhdjdN6DWrQV0PiaU=";
hash = "sha256-xXbOIG9gw1rO+iWdXNWWmweM83FpTLMuaDTcRZoMvL8=";
};

nativeBuildInputs = [
Expand Down
34 changes: 34 additions & 0 deletions pkgs/development/python-modules/aiorussound/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,

# build-system
setuptools,
}:

buildPythonPackage rec {
pname = "aiorussound";
version = "2.2.2";
pyproject = true;

src = fetchFromGitHub {
owner = "noahhusby";
repo = "aiorussound";
rev = version;
hash = "sha256-X7KdIjfPNZSsSXYN1gVqTpcgM00V1YG3ihxutmYnb6Y=";
};

build-system = [ setuptools ];

doCheck = false; # no tests

pythonImportsCheck = [ "aiorussound" ];

meta = with lib; {
description = "Async python package for interfacing with Russound RIO hardware";
homepage = "https://github.com/noahhusby/aiorussound";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}
11 changes: 4 additions & 7 deletions pkgs/development/python-modules/anova-wifi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
sensor-state-data,
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
}:

buildPythonPackage rec {
pname = "anova-wifi";
version = "0.17.0";
version = "0.17.1";
pyproject = true;

disabled = pythonOlder "3.10";
Expand All @@ -21,14 +22,9 @@ buildPythonPackage rec {
owner = "Lash-L";
repo = "anova_wifi";
rev = "refs/tags/v${version}";
hash = "sha256-F/bd5BtHpF3778eoK0QBaSmdTOpLlz+fixCYR74BRZw=";
hash = "sha256-TRiv5ljdVqc4qeX+fSH+aTDf5UyNII8/twlNx3KC6oI=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "--cov=anova_wifi --cov-report=term-missing:skip-covered" ""
'';

build-system = [ poetry-core ];

dependencies = [
Expand All @@ -39,6 +35,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-cov-stub
];

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

buildPythonPackage rec {
pname = "awesomeversion";
version = "24.2.0";
version = "24.6.0";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "ludeeus";
repo = "awesomeversion";
rev = "refs/tags/${version}";
hash = "sha256-bpLtHhpWc1VweVl5G8mM473Js3bXT11N3Zc0jiVqq5c=";
hash = "sha256-lpG42Be0MVinWX5MyDvBPdoZFx66l6tpUxpAJRqEf88=";
};

postPatch = ''
Expand Down
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/bimmer-connected/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

buildPythonPackage rec {
pname = "bimmer-connected";
version = "0.15.3";
version = "0.16.1";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "bimmerconnected";
repo = "bimmer_connected";
rev = "refs/tags/${version}";
hash = "sha256-0Z7W9Z5zl7N0WbvfOTs8wcloI5VfqrZ+OBWocFAnjwY=";
hash = "sha256-rklWek0XDedJXxVlRLLVMOkU0wMOlv8+Uzn8aVAmc2k=";
};

build-system = [
Expand Down Expand Up @@ -66,6 +66,7 @@ buildPythonPackage rec {

preCheck = ''
export TZDIR=${tzdata}/${python.sitePackages}/tzdata/zoneinfo
export PATH=$out/bin:$PATH
'';

pythonImportsCheck = [ "bimmer_connected" ];
Expand Down
15 changes: 14 additions & 1 deletion pkgs/development/python-modules/blinkpy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
aiofiles,
aiohttp,
pytest-asyncio,
pytestCheckHook,
python-dateutil,
python-slugify,
Expand All @@ -27,6 +29,14 @@ buildPythonPackage rec {
hash = "sha256-MWXOxE0nxBFhkAWjy7qFPhv4AO6VjGf+fAiyaWXeiX8=";
};

patches = [
(fetchpatch2 {
# Fix tests with aiohttp 3.10+
url = "https://github.com/fronzbot/blinkpy/commit/e2c747b5ad295424b08ff4fb03204129155666fc.patch";
hash = "sha256-FapgAZcKBWqtAPjRl2uOFgnYPoWq6UU88XGLO7oCmDI=";
})
];

postPatch = ''
substituteInPlace pyproject.toml \
--replace ', "wheel~=0.40.0"' "" \
Expand All @@ -44,7 +54,10 @@ buildPythonPackage rec {
sortedcontainers
];

nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];

pythonImportsCheck = [
"blinkpy"
Expand Down
Loading

0 comments on commit 8c9bf98

Please sign in to comment.