Commit c557f4b5 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.ha-mqtt-discoverable: format with nixfmt

parent 8b0b0e29
Loading
Loading
Loading
Loading
+16 −23
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, gitlike-commands
, paho-mqtt
, poetry-core
, pyaml
, pydantic
, pythonOlder
, pythonRelaxDepsHook
, thelogrus
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  gitlike-commands,
  paho-mqtt,
  poetry-core,
  pyaml,
  pydantic,
  pythonOlder,
  pythonRelaxDepsHook,
  thelogrus,
}:

buildPythonPackage rec {
@@ -25,17 +26,11 @@ buildPythonPackage rec {
    hash = "sha256-vL4EzeU+8nUPyLR22MJtLhknWF4DWMo49EKvkIqIWhA=";
  };

  pythonRelaxDeps = [
    "pyaml"
  ];
  pythonRelaxDeps = [ "pyaml" ];

  build-system = [
    poetry-core
  ];
  build-system = [ poetry-core ];

  nativeBuildInputs = [
    pythonRelaxDepsHook
  ];
  nativeBuildInputs = [ pythonRelaxDepsHook ];

  dependencies = [
    gitlike-commands
@@ -48,9 +43,7 @@ buildPythonPackage rec {
  # Test require a running Mosquitto instance
  doCheck = false;

  pythonImportsCheck = [
    "ha_mqtt_discoverable"
  ];
  pythonImportsCheck = [ "ha_mqtt_discoverable" ];

  meta = with lib; {
    description = "Python module to create MQTT entities that are automatically discovered by Home Assistant";