diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-03 09:31:26 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-03 09:31:26 +0200 |
commit | ad6582c96dd065c49e38fd45c67903211202f3ca (patch) | |
tree | b534b805bddb7f6b8d8e5a0cff6f02b5ff7ec492 /pkgs | |
parent | 2ac6998abbd657cad987e416274215040e59865c (diff) |
python312Packages.airthings-ble: format with nixfmt
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/airthings-ble/default.nix | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/airthings-ble/default.nix b/pkgs/development/python-modules/airthings-ble/default.nix index a5cb442236db0..9fc7d0e68049d 100644 --- a/pkgs/development/python-modules/airthings-ble/default.nix +++ b/pkgs/development/python-modules/airthings-ble/default.nix @@ -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"; |