python312Packages.xiaomi-ble: format with nixfmt
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
{ lib
|
||||
, bleak
|
||||
, bleak-retry-connector
|
||||
, bluetooth-data-tools
|
||||
, bluetooth-sensor-state-data
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, home-assistant-bluetooth
|
||||
, poetry-core
|
||||
, pycryptodomex
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, sensor-state-data
|
||||
{
|
||||
lib,
|
||||
bleak,
|
||||
bleak-retry-connector,
|
||||
bluetooth-data-tools,
|
||||
bluetooth-sensor-state-data,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchFromGitHub,
|
||||
home-assistant-bluetooth,
|
||||
poetry-core,
|
||||
pycryptodomex,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
sensor-state-data,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -34,17 +35,11 @@ buildPythonPackage rec {
|
||||
--replace-fail " --cov=xiaomi_ble --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pycryptodomex"
|
||||
];
|
||||
pythonRelaxDeps = [ "pycryptodomex" ];
|
||||
|
||||
dependencies = [
|
||||
bleak
|
||||
@@ -57,13 +52,9 @@ buildPythonPackage rec {
|
||||
sensor-state-data
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"xiaomi_ble"
|
||||
];
|
||||
pythonImportsCheck = [ "xiaomi_ble" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for Xiaomi BLE devices";
|
||||
|
||||
Reference in New Issue
Block a user