python312Packages.airthings-ble: format with nixfmt

This commit is contained in:
Fabian Affolter
2024-05-03 09:31:26 +02:00
parent 2ac6998abb
commit ad6582c96d
@@ -1,13 +1,14 @@
{ lib
, async-interrupt
, async-timeout
, bleak
, bleak-retry-connector
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, pythonOlder
{
lib,
async-interrupt,
async-timeout,
bleak,
bleak-retry-connector,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
@@ -29,25 +30,17 @@ buildPythonPackage rec {
--replace-fail "-v -Wdefault --cov=airthings_ble --cov-report=term-missing:skip-covered" ""
'';
build-system = [
poetry-core
];
build-system = [ poetry-core ];
dependencies = [
async-interrupt
bleak
bleak-retry-connector
] ++ lib.optionals (pythonOlder "3.11") [
async-timeout
];
] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"airthings_ble"
];
pythonImportsCheck = [ "airthings_ble" ];
meta = with lib; {
description = "Library for Airthings BLE devices";