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