From a2ab67087973dc82fda9ec35532db2e0675d7c93 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 22:06:56 +0200 Subject: [PATCH] python312Packages.hass-nabucasa: format with nixfmt --- .../python-modules/hass-nabucasa/default.nix | 57 ++++++++----------- 1 file changed, 25 insertions(+), 32 deletions(-) diff --git a/pkgs/development/python-modules/hass-nabucasa/default.nix b/pkgs/development/python-modules/hass-nabucasa/default.nix index aa294c99eeea..ac32e43cf932 100644 --- a/pkgs/development/python-modules/hass-nabucasa/default.nix +++ b/pkgs/development/python-modules/hass-nabucasa/default.nix @@ -1,23 +1,24 @@ -{ lib -, acme -, aiohttp -, atomicwrites-homeassistant -, attrs -, buildPythonPackage -, ciso8601 -, cryptography -, fetchFromGitHub -, pycognito -, pyjwt -, pytest-aiohttp -, pytest-timeout -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, setuptools -, snitun -, syrupy -, xmltodict +{ + lib, + acme, + aiohttp, + atomicwrites-homeassistant, + attrs, + buildPythonPackage, + ciso8601, + cryptography, + fetchFromGitHub, + pycognito, + pyjwt, + pytest-aiohttp, + pytest-timeout, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + setuptools, + snitun, + syrupy, + xmltodict, }: buildPythonPackage rec { @@ -34,17 +35,11 @@ buildPythonPackage rec { hash = "sha256-8KxnS6LTK077/hr81JOiOj8GaNWBXO8XlvpYBm/sZbI="; }; - pythonRelaxDeps = [ - "acme" - ]; + pythonRelaxDeps = [ "acme" ]; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ acme @@ -66,9 +61,7 @@ buildPythonPackage rec { xmltodict ]; - pythonImportsCheck = [ - "hass_nabucasa" - ]; + pythonImportsCheck = [ "hass_nabucasa" ]; meta = with lib; { description = "Python module for the Home Assistant cloud integration";