diff --git a/pkgs/development/python-modules/ha-mqtt-discoverable/default.nix b/pkgs/development/python-modules/ha-mqtt-discoverable/default.nix index 1420362dc622..f72ae973f52f 100644 --- a/pkgs/development/python-modules/ha-mqtt-discoverable/default.nix +++ b/pkgs/development/python-modules/ha-mqtt-discoverable/default.nix @@ -7,12 +7,13 @@ , pyaml , pydantic , pythonOlder +, pythonRelaxDepsHook , thelogrus }: buildPythonPackage rec { pname = "ha-mqtt-discoverable"; - version = "0.13.1"; + version = "0.14.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -21,14 +22,22 @@ buildPythonPackage rec { owner = "unixorn"; repo = "ha-mqtt-discoverable"; rev = "refs/tags/v${version}"; - hash = "sha256-Ue8az6Q7uU02IJJyyHk64Ji4J6sf/bShvTeHhN9U92Y="; + hash = "sha256-vL4EzeU+8nUPyLR22MJtLhknWF4DWMo49EKvkIqIWhA="; }; - nativeBuildInputs = [ + pythonRelaxDeps = [ + "pyaml" + ]; + + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + dependencies = [ gitlike-commands paho-mqtt pyaml @@ -49,6 +58,5 @@ buildPythonPackage rec { changelog = "https://github.com/unixorn/ha-mqtt-discoverable/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; - broken = versionAtLeast pydantic.version "2"; }; }