diff --git a/pkgs/servers/home-assistant/intents.nix b/pkgs/servers/home-assistant/intents.nix index 126ee182e4d7..74ff29a23594 100644 --- a/pkgs/servers/home-assistant/intents.nix +++ b/pkgs/servers/home-assistant/intents.nix @@ -22,17 +22,17 @@ buildPythonPackage rec { pname = "home-assistant-intents"; - version = "2025.7.30"; + version = "2025.8.29"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { - owner = "home-assistant"; + owner = "OHF-Voice"; repo = "intents-package"; - rev = "refs/tags/${version}"; + tag = version; fetchSubmodules = true; - hash = "sha256-eXEZNeEWeTFFwnMuDS9HqTGmqQ23NN5WTiklhcoOWbg="; + hash = "sha256-vEgarkGZ8pawqid+ADkovLbED5zzChZhqSB75l0lL/s="; }; build-system = [ @@ -47,7 +47,7 @@ buildPythonPackage rec { ]; postInstall = '' - # https://github.com/home-assistant/intents-package/blob/main/script/package#L23-L24 + # https://github.com/OHF-Voice/intents-package/blob/main/script/package#L23-L24 PACKAGE_DIR=$out/${python.sitePackages}/home_assistant_intents ${python.pythonOnBuildForHost.interpreter} script/merged_output.py $PACKAGE_DIR/data ${python.pythonOnBuildForHost.interpreter} script/write_languages.py $PACKAGE_DIR/data > $PACKAGE_DIR/languages.py @@ -62,13 +62,10 @@ buildPythonPackage rec { "intents/tests" ]; - # requires hassil 3.0.0, but Home Assistant is stuck on 2.2.3 - doCheck = false; - meta = with lib; { - changelog = "https://github.com/home-assistant/intents/releases/tag/${version}"; + changelog = "https://github.com/OHF-Voice/intents-package/releases/tag/${src.tag}"; description = "Intents to be used with Home Assistant"; - homepage = "https://github.com/home-assistant/intents"; + homepage = "https://github.com/OHF-Voice/intents-package"; license = licenses.cc-by-40; teams = [ teams.home-assistant ]; };