{ lib, buildPythonPackage, fetchFromGitHub, setuptools-scm, aiohttp, beautifulsoup4, lxml, pyjwt, freezegun, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "volkswagencarnet"; version = "5.4.5"; pyproject = true; src = fetchFromGitHub { owner = "robinostlund"; repo = "volkswagencarnet"; tag = "v${version}"; hash = "sha256-e7h8Dp/C4Q/0Y6viTeCTlzekr1aI5B0gAX5MZBenMCY="; }; postPatch = '' substituteInPlace tests/conftest.py \ --replace-fail 'pytest_plugins = ["pytest_cov"]' 'pytest_plugins = []' ''; build-system = [ setuptools-scm ]; dependencies = [ aiohttp beautifulsoup4 lxml pyjwt ]; pythonImportsCheck = [ "volkswagencarnet" ]; nativeCheckInputs = [ freezegun pytest-asyncio pytestCheckHook ]; meta = { changelog = "https://github.com/robinostlund/volkswagencarnet/releases/tag/${src.tag}"; description = "Python library for volkswagen carnet"; homepage = "https://github.com/robinostlund/volkswagencarnet"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ dotlambda ]; }; }