at 23.05-pre 53 lines 940 B view raw
1{ lib 2, aiohttp 3, auth0-python 4, buildPythonPackage 5, fetchFromGitHub 6, poetry-core 7, pyjwt 8, pytest-aiohttp 9, pytestCheckHook 10, python-dateutil 11, pythonOlder 12}: 13 14buildPythonPackage rec { 15 pname = "aiobiketrax"; 16 version = "0.4.0"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.9"; 20 21 src = fetchFromGitHub { 22 owner = "basilfx"; 23 repo = pname; 24 rev = "v${version}"; 25 hash = "sha256-P8BExzL22rRj1IFPpojKR8ITdVq0RF8e3qLgb+H1PzE="; 26 }; 27 28 nativeBuildInputs = [ 29 poetry-core 30 ]; 31 32 propagatedBuildInputs = [ 33 aiohttp 34 auth0-python 35 python-dateutil 36 pyjwt 37 ]; 38 39 checkInputs = [ 40 pytestCheckHook 41 ]; 42 43 pythonImportsCheck = [ 44 "aiobiketrax" 45 ]; 46 47 meta = with lib; { 48 description = "Library for interacting with the PowUnity BikeTrax GPS tracker"; 49 homepage = "https://github.com/basilfx/aiobiketrax"; 50 license = with licenses; [ mit ]; 51 maintainers = with maintainers; [ fab ]; 52 }; 53}