diff --git a/pkgs/servers/home-assistant/stubs.nix b/pkgs/servers/home-assistant/stubs.nix index 21ad2e622052..74f1f1f6a987 100644 --- a/pkgs/servers/home-assistant/stubs.nix +++ b/pkgs/servers/home-assistant/stubs.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "homeassistant-stubs"; - version = "2025.3.3"; + version = "2025.3.4"; pyproject = true; disabled = python.version != home-assistant.python.version; @@ -18,8 +18,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "KapJI"; repo = "homeassistant-stubs"; - rev = "refs/tags/${version}"; - hash = "sha256-SI43zL0DfXGfk/A8VhoUTq+3Q4N2730vBxEXRj8fgUI="; + tag = version; + hash = "sha256-HO1A1uLGNnFdigmoZVL+T28f1Oh+6t1pDUa+nh84MLA="; }; build-system = [ @@ -41,11 +41,11 @@ buildPythonPackage rec { doCheck = false; - meta = with lib; { + meta = { description = "Typing stubs for Home Assistant Core"; homepage = "https://github.com/KapJI/homeassistant-stubs"; - changelog = "https://github.com/KapJI/homeassistant-stubs/releases/tag/${version}"; - license = licenses.mit; - maintainers = teams.home-assistant.members; + changelog = "https://github.com/KapJI/homeassistant-stubs/releases/tag/${src.tag}"; + license = lib.licenses.mit; + maintainers = lib.teams.home-assistant.members; }; }