1{ lib 2, aiohttp 3, authcaptureproxy 4, backoff 5, beautifulsoup4 6, buildPythonPackage 7, fetchFromGitHub 8, httpx 9, orjson 10, poetry-core 11, pytest-asyncio 12, pytestCheckHook 13, pythonOlder 14, tenacity 15, wrapt 16}: 17 18buildPythonPackage rec { 19 pname = "teslajsonpy"; 20 version = "3.9.7"; 21 format = "pyproject"; 22 23 disabled = pythonOlder "3.7"; 24 25 src = fetchFromGitHub { 26 owner = "zabuldon"; 27 repo = pname; 28 rev = "refs/tags/v${version}"; 29 hash = "sha256-A59b7qr9Y4LuIwP51ci7k1019/T+qNcDYPDNCkmqpi4="; 30 }; 31 32 nativeBuildInputs = [ 33 poetry-core 34 ]; 35 36 propagatedBuildInputs = [ 37 authcaptureproxy 38 aiohttp 39 backoff 40 beautifulsoup4 41 httpx 42 orjson 43 tenacity 44 wrapt 45 ]; 46 47 nativeCheckInputs = [ 48 pytest-asyncio 49 pytestCheckHook 50 ]; 51 52 pythonImportsCheck = [ 53 "teslajsonpy" 54 ]; 55 56 meta = with lib; { 57 description = "Python library to work with Tesla API"; 58 homepage = "https://github.com/zabuldon/teslajsonpy"; 59 changelog = "https://github.com/zabuldon/teslajsonpy/releases/tag/v${version}"; 60 license = with licenses; [ asl20 ]; 61 maintainers = with maintainers; [ fab ]; 62 }; 63}