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 = "1.2.1"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.6"; 22 23 src = fetchFromGitHub { 24 owner = "zabuldon"; 25 repo = pname; 26 rev = "v${version}"; 27 sha256 = "sha256-49dQgzYsEn5jmHWTJ3e3QOTqNeoTRMjUWxp+MaOYod4="; 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 license = with licenses; [ asl20 ]; 56 maintainers = with maintainers; [ fab ]; 57 }; 58}