From 4a8c10751e7e261850ddf203d2e5b728b224b051 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 19 May 2024 11:35:17 +0200 Subject: [PATCH] ha-mqtt-discoverable-cli: format with nixfmt --- .../ha/ha-mqtt-discoverable-cli/package.nix | 27 +++++++------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/pkgs/by-name/ha/ha-mqtt-discoverable-cli/package.nix b/pkgs/by-name/ha/ha-mqtt-discoverable-cli/package.nix index 99985f6ea2ac..b3f2528ce2a2 100644 --- a/pkgs/by-name/ha/ha-mqtt-discoverable-cli/package.nix +++ b/pkgs/by-name/ha/ha-mqtt-discoverable-cli/package.nix @@ -1,6 +1,7 @@ -{ lib -, python3 -, fetchFromGitHub +{ + lib, + fetchFromGitHub, + python3, }: python3.pkgs.buildPythonApplication rec { @@ -15,28 +16,18 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-rGRsB5kAtzI5KP4tMiQqLJQZs7z5k657V8Di0OzB6F8="; }; - pythonRelaxDeps = [ - "ha-mqtt-discoverable" - ]; + pythonRelaxDeps = [ "ha-mqtt-discoverable" ]; - build-system = with python3.pkgs; [ - poetry-core - ]; + build-system = with python3.pkgs; [ poetry-core ]; - nativeBuildInputs = with python3.pkgs; [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ]; - dependencies = with python3.pkgs; [ - ha-mqtt-discoverable - ]; + dependencies = with python3.pkgs; [ ha-mqtt-discoverable ]; # Project has no real tests doCheck = false; - pythonImportsCheck = [ - "ha_mqtt_discoverable_cli" - ]; + pythonImportsCheck = [ "ha_mqtt_discoverable_cli" ]; meta = with lib; { description = "CLI for creating Home Assistant compatible MQTT entities that will be automatically discovered";