{ lib , aiohttp , auth0-python , buildPythonPackage , fetchFromGitHub , poetry-core , pyjwt , pytest-aiohttp , pytestCheckHook , python-dateutil , pythonOlder }: buildPythonPackage rec { pname = "aiobiketrax"; version = "0.5.0"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "basilfx"; repo = pname; rev = "v${version}"; hash = "sha256-exxpJJA+JnVuehCnWs/ihk/SSPUqV7ODXZxvbmuHe8U="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp auth0-python python-dateutil pyjwt ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "aiobiketrax" ]; meta = with lib; { description = "Library for interacting with the PowUnity BikeTrax GPS tracker"; homepage = "https://github.com/basilfx/aiobiketrax"; changelog = "https://github.com/basilfx/aiobiketrax/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }