diff --git a/pkgs/servers/home-assistant/appdaemon.nix b/pkgs/servers/home-assistant/appdaemon.nix index 36cccbe3f3f9..40e2c2b4ba63 100644 --- a/pkgs/servers/home-assistant/appdaemon.nix +++ b/pkgs/servers/home-assistant/appdaemon.nix @@ -1,28 +1,26 @@ { lib, - python3, + python3Packages, fetchFromGitHub, }: -python3.pkgs.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "appdaemon"; - version = "4.4.2"; + version = "4.5.11"; pyproject = true; src = fetchFromGitHub { owner = "AppDaemon"; repo = "appdaemon"; rev = "refs/tags/${version}"; - hash = "sha256-T3InE4J4qYeFJTq6nrW8y5BOA7Z0n3t9eVpl641r/xk="; + hash = "sha256-1wnAniw7fdyfH6QeFjdIAxX5mU92ZZxLLJ/QkKge1eY="; }; pythonRelaxDeps = true; - nativeBuildInputs = with python3.pkgs; [ - setuptools - ]; + build-system = [ python3Packages.setuptools ]; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3Packages; [ aiohttp aiohttp-jinja2 astral @@ -32,6 +30,7 @@ python3.pkgs.buildPythonApplication rec { iso8601 paho-mqtt pid + pydantic python-dateutil python-socketio pytz @@ -39,7 +38,6 @@ python3.pkgs.buildPythonApplication rec { requests sockjs uvloop - websocket-client tomli tomli-w ];