Commit ad6582c9 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.airthings-ble: format with nixfmt

parent 2ac6998a
Loading
Loading
Loading
Loading
+15 −22
Original line number Diff line number Diff line
{ 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";