python312Packages.airthings-ble: format with nixfmt
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user