about summary refs log tree commit diff
path: root/pkgs/by-name/ha
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-05-19 11:35:17 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-05-19 11:35:17 +0200
commit4a8c10751e7e261850ddf203d2e5b728b224b051 (patch)
tree7511af86cc90ea6d0af2094618ce7cf2de450fa2 /pkgs/by-name/ha
parenta148717df38668417e964c1e15ef99340fd4d4ac (diff)
ha-mqtt-discoverable-cli: format with nixfmt
Diffstat (limited to 'pkgs/by-name/ha')
-rw-r--r--pkgs/by-name/ha/ha-mqtt-discoverable-cli/package.nix27
1 files 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 99985f6ea2acf..b3f2528ce2a2c 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";