13 buildPythonPackage rec {
14 pname = "ha-mqtt-discoverable";
18 disabled = pythonOlder "3.10";
20 src = fetchFromGitHub {
22 repo = "ha-mqtt-discoverable";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-0a39KTLZw3Y2D0TXlKCmvVeNoXAN/uLXQGDlA9iM9J0=";
31 propagatedBuildInputs = [
39 # Test require a running Mosquitto instance
42 pythonImportsCheck = [
43 "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 ];