Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 58 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ aiohttp, buildPythonPackage, fetchFromGitHub, lib, pydantic, pytest-asyncio, pytestCheckHook, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "actron-neo-api"; version = "0.5.4"; pyproject = true;
src = fetchFromGitHub { owner = "kclif9"; repo = "actronneoapi"; tag = "v${version}"; hash = "sha256-XyX9o1fIyY5TZqLzK1a+KLkLDVEorw2illg+lHutLtc="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ aiohttp pydantic ];
pythonImportsCheck = [ "actron_neo_api" ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
disabledTests = [ # test hangs "test_poll_for_token_pending" # AttributeError: property 'authorization_header' of 'ActronAirOAuth2DeviceCodeAuth' object has no setter "test_lazy_token_refres" # ActronAirAuthError: Refresh token is required to refresh the access token "test_get_user_info" ];
meta = { changelog = "https://github.com/kclif9/actronneoapi/releases/tag/${src.tag}"; description = "Communicate with Actron Air systems via the Actron Neo API"; homepage = "https://github.com/kclif9/actronneoapi"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dotlambda ]; };}