Loading pkgs/development/python-modules/airthings-ble/default.nix +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 { Loading @@ -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"; Loading Loading
pkgs/development/python-modules/airthings-ble/default.nix +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 { Loading @@ -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"; Loading