diff --git a/pkgs/development/python-modules/ha-mqtt-discoverable/default.nix b/pkgs/development/python-modules/ha-mqtt-discoverable/default.nix index 4e2275dba2d1..d977634f39e7 100644 --- a/pkgs/development/python-modules/ha-mqtt-discoverable/default.nix +++ b/pkgs/development/python-modules/ha-mqtt-discoverable/default.nix @@ -8,12 +8,11 @@ pyaml, pydantic, pythonOlder, - thelogrus, }: buildPythonPackage rec { pname = "ha-mqtt-discoverable"; - version = "0.16.4"; + version = "0.18.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -22,10 +21,14 @@ buildPythonPackage rec { owner = "unixorn"; repo = "ha-mqtt-discoverable"; tag = "v${version}"; - hash = "sha256-9JRgg2A/tcZyAkuddQ/v3Dhxe60O47Y4VZY3Yb6/49g="; + hash = "sha256-CO2XVYYQql8w+YYCxffDdqiKs0Aqc3rYtRM79IYmkzY="; }; - pythonRelaxDeps = [ "pyaml" ]; + pythonRelaxDeps = [ + "paho-mqtt" + "pyaml" + "pydantic" + ]; build-system = [ poetry-core ]; @@ -34,7 +37,6 @@ buildPythonPackage rec { paho-mqtt pyaml pydantic - thelogrus ]; # Test require a running Mosquitto instance @@ -43,8 +45,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "ha_mqtt_discoverable" ]; meta = with lib; { - # https://github.com/unixorn/ha-mqtt-discoverable/pull/310 - broken = lib.versionAtLeast paho-mqtt.version "2"; description = "Python module to create MQTT entities that are automatically discovered by Home Assistant"; homepage = "https://github.com/unixorn/ha-mqtt-discoverable"; changelog = "https://github.com/unixorn/ha-mqtt-discoverable/releases/tag/v${version}";