Skip to content

Commit

Permalink
home-assistant: 2024.9.0 -> 2024.9.1 (#340234)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Sep 7, 2024
2 parents 6ca18ce + 798b763 commit 7bf5ade
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 23 deletions.
13 changes: 11 additions & 2 deletions pkgs/development/python-modules/aioazuredevops/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

buildPythonPackage rec {
pname = "aioazuredevops";
version = "2.2.0";
version = "2.2.1";
pyproject = true;

disabled = pythonOlder "3.12";
Expand All @@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "timmo001";
repo = "aioazuredevops";
rev = "refs/tags/${version}";
hash = "sha256-1v58I9WOyyrp9n+qdvVeMZ3EObqP/06XCOZYS0nEvPU=";
hash = "sha256-RZBiFPzYtEoc51T3irVHL9xVlZgACyM2lu1TkMoatqU=";
};

postPatch = ''
Expand All @@ -58,6 +58,15 @@ buildPythonPackage rec {
syrupy
];

disabledTests = [
# https://github.com/timmo001/aioazuredevops/issues/44
"test_get_project"
"test_get_builds"
"test_get_build"
];

pytestFlagsArray = [ "--snapshot-update" ];

pythonImportsCheck = [ "aioazuredevops" ];

meta = with lib; {
Expand Down
29 changes: 24 additions & 5 deletions pkgs/development/python-modules/aiorussound/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,49 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,

# build-system
setuptools,
poetry-core,

# dependencies
mashumaro,
orjson,

# tests
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "aiorussound";
version = "2.3.2";
version = "3.0.5";
pyproject = true;

# requires newer f-strings introduced in 3.12
disabled = pythonOlder "3.12";

src = fetchFromGitHub {
owner = "noahhusby";
repo = "aiorussound";
rev = "refs/tags/${version}";
hash = "sha256-lQDHwm6dpernRYktu6eqV8uP7FHHHAU28viLg0q58+8=";
hash = "sha256-tv/Box8YqmFXvnezp44lKrPscK9K24+mXBv9aZw/3M4=";
};

build-system = [ setuptools ];
build-system = [ poetry-core ];

dependencies = [
mashumaro
orjson
];

doCheck = false; # no tests
nativeCheckInputs = [
pytestCheckHook
];

pythonImportsCheck = [ "aiorussound" ];

meta = with lib; {
changelog = "https://github.com/noahhusby/aiorussound/releases/tag/${version}";
description = "Async python package for interfacing with Russound RIO hardware";
homepage = "https://github.com/noahhusby/aiorussound";
license = licenses.mit;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pypck/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

buildPythonPackage rec {
pname = "pypck";
version = "0.7.21";
version = "0.7.22";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "alengwenus";
repo = "pypck";
rev = "refs/tags/${version}";
hash = "sha256-6Ng+Jw5ZDtkKOftFVhy1uOjzcmeKI5VqWzPn3EkKfGI=";
hash = "sha256-rtlcsmjvhC232yjt258ne51tL//eKsCKYYc/yHG7HUU=";
};

postPatch = ''
Expand Down
12 changes: 6 additions & 6 deletions pkgs/development/python-modules/sfrbox-api/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@

buildPythonPackage rec {
pname = "sfrbox-api";
version = "0.0.9";
version = "0.0.10";
pyproject = true;

disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";

src = fetchFromGitHub {
owner = "hacf-fr";
repo = "sfrbox-api";
rev = "refs/tags/v${version}";
hash = "sha256-rMfX9vA8IuWxXvVs4WYNHO6neeoie/3gABwhXyJoAF8=";
hash = "sha256-xvtusgqCseXAmiPQBFFZnRS9KmuhzHhZUAj5aaqyFrE=";
};

pythonRelaxDeps = [
"defusedxml"
"pydantic"
];

nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];

propagatedBuildInputs = [
dependencies = [
defusedxml
httpx
pydantic
Expand All @@ -54,10 +54,10 @@ buildPythonPackage rec {

meta = with lib; {
description = "Module for the SFR Box API";
mainProgram = "sfrbox-api";
homepage = "https://github.com/hacf-fr/sfrbox-api";
changelog = "https://github.com/hacf-fr/sfrbox-api/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "sfrbox-api";
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Do not edit!

{
version = "2024.9.0";
version = "2024.9.1";
components = {
"3_day_blinds" = ps: with ps; [
];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/servers/home-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ let
extraBuildInputs = extraPackages python.pkgs;

# Don't forget to run update-component-packages.py after updating
hassVersion = "2024.9.0";
hassVersion = "2024.9.1";

in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
Expand All @@ -432,13 +432,13 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-tzEiT+1NvwmH/j1FnmUcanwjSGS8+M/FJ2wZY7qAdYk=";
hash = "sha256-jwkLlmwP9rxwGFVagVyVrO6scOMzuva1Pz706nb3Ato=";
};

# Secondary source is pypi sdist for translations
sdist = fetchPypi {
inherit pname version;
hash = "sha256-KTseRVRn3O75Sjot4f7fgKioKKEY33eXHcFufsPKLak=";
hash = "sha256-0+tXKnkcpjISqapvFh7nPKfPxJrSACuxulejk4pCPUQ=";
};

build-system = with python.pkgs; [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/home-assistant/frontend.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ 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 = "20240904.0";
version = "20240906.0";
format = "wheel";

src = fetchPypi {
inherit version format;
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-UauRL6AbyQgk7av1AuE49nlWEkuRRQxQykFHeo3ZpGU=";
hash = "sha256-iWSpwgp5mdAhuZgF+1uNL0aovjM7CZ4SbM0HHQktfAk=";
};

# there is nothing to strip in this package
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/home-assistant/stubs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

buildPythonPackage rec {
pname = "homeassistant-stubs";
version = "2024.9.0";
version = "2024.9.1";
pyproject = true;

disabled = python.version != home-assistant.python.version;
Expand All @@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "KapJI";
repo = "homeassistant-stubs";
rev = "refs/tags/${version}";
hash = "sha256-8t8r0CjiMvu73A+NtwF6/KMm+LkvMc/k4d1YPgWzWt8=";
hash = "sha256-snYfeMKZhQWJx3hi7cvY9tswmPxmtiPHz4S8IM31DvU=";
};

build-system = [
Expand Down

0 comments on commit 7bf5ade

Please sign in to comment.