diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-02-16 09:22:06 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-02-16 09:22:06 +0100 |
commit | 06ed0ca39bfe62c175cb0959d508676554793be1 (patch) | |
tree | d6bd40819bb18b1459ce35cafb9616341a3e0861 /pkgs/servers/home-assistant | |
parent | b99bc1d79d795efec68b49c0346563dbff7f9a18 (diff) | |
download | nixlib-06ed0ca39bfe62c175cb0959d508676554793be1.tar nixlib-06ed0ca39bfe62c175cb0959d508676554793be1.tar.gz nixlib-06ed0ca39bfe62c175cb0959d508676554793be1.tar.bz2 nixlib-06ed0ca39bfe62c175cb0959d508676554793be1.tar.lz nixlib-06ed0ca39bfe62c175cb0959d508676554793be1.tar.xz nixlib-06ed0ca39bfe62c175cb0959d508676554793be1.tar.zst nixlib-06ed0ca39bfe62c175cb0959d508676554793be1.zip |
appdaemon: migrate to pythonRelaxDepsHook
Diffstat (limited to 'pkgs/servers/home-assistant')
-rw-r--r-- | pkgs/servers/home-assistant/appdaemon.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/servers/home-assistant/appdaemon.nix b/pkgs/servers/home-assistant/appdaemon.nix index 89515fa265d3..167e740f2181 100644 --- a/pkgs/servers/home-assistant/appdaemon.nix +++ b/pkgs/servers/home-assistant/appdaemon.nix @@ -8,8 +8,6 @@ python3.pkgs.buildPythonApplication rec { version = "4.4.2"; pyproject = true; - disabled = python3.pythonOlder "3.8"; - src = fetchFromGitHub { owner = "AppDaemon"; repo = "appdaemon"; @@ -17,12 +15,10 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-T3InE4J4qYeFJTq6nrW8y5BOA7Z0n3t9eVpl641r/xk="; }; - postPatch = '' - # relax dependencies - sed -i 's/~=/>=/' pyproject.toml - ''; + pythonRelaxDeps = true; nativeBuildInputs = with python3.pkgs; [ + pythonRelaxDepsHook setuptools ]; |