14 buildPythonPackage rec {
15 pname = "ha-mqtt-discoverable";
19 disabled = pythonOlder "3.10";
21 src = fetchFromGitHub {
23 repo = "ha-mqtt-discoverable";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-vL4EzeU+8nUPyLR22MJtLhknWF4DWMo49EKvkIqIWhA=";
28 pythonRelaxDeps = [ "pyaml" ];
30 build-system = [ poetry-core ];
41 # Test require a running Mosquitto instance
44 pythonImportsCheck = [ "ha_mqtt_discoverable" ];
47 description = "Python module to create MQTT entities that are automatically discovered by Home Assistant";
48 homepage = "https://github.com/unixorn/ha-mqtt-discoverable";
49 changelog = "https://github.com/unixorn/ha-mqtt-discoverable/releases/tag/v${version}";
50 license = licenses.asl20;
51 maintainers = with maintainers; [ fab ];