python312Packages.python-roborock: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-09 19:03:04 +02:00
parent e99d758c39
commit b7ef007f7b
1 changed files with 23 additions and 32 deletions

View File

@ -1,20 +1,21 @@
{ lib
, stdenv
, aiohttp
, async-timeout
, buildPythonPackage
, click
, construct
, dacite
, fetchFromGitHub
, paho-mqtt
, poetry-core
, pycryptodome
, pycryptodomex
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
{
lib,
stdenv,
aiohttp,
async-timeout,
buildPythonPackage,
click,
construct,
dacite,
fetchFromGitHub,
paho-mqtt,
poetry-core,
pycryptodome,
pycryptodomex,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
}:
buildPythonPackage rec {
@ -36,17 +37,11 @@ buildPythonPackage rec {
--replace "poetry-core==1.8.0" "poetry-core"
'';
pythonRelaxDeps = [
"pycryptodome"
];
pythonRelaxDeps = [ "pycryptodome" ];
build-system = [
poetry-core
];
build-system = [ poetry-core ];
nativeBuildInputs = [
pythonRelaxDepsHook
];
nativeBuildInputs = [ pythonRelaxDepsHook ];
propagatedBuildInputs = [
aiohttp
@ -56,18 +51,14 @@ buildPythonPackage rec {
dacite
paho-mqtt
pycryptodome
] ++ lib.optionals stdenv.isDarwin [
pycryptodomex
];
] ++ lib.optionals stdenv.isDarwin [ pycryptodomex ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"roborock"
];
pythonImportsCheck = [ "roborock" ];
meta = with lib; {
description = "Python library & console tool for controlling Roborock vacuum";