1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, aiohttp 5, aioresponses 6, pytest-asyncio 7, pytestCheckHook 8, pythonOlder 9}: 10 11buildPythonPackage rec { 12 pname = "bond-api"; 13 version = "0.1.18"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "prystupa"; 20 repo = "bond-api"; 21 rev = "v${version}"; 22 hash = "sha256-+87/j94eHyW3EMMBK+aXaNTVoNxsixeLusyBsPWa9yM="; 23 }; 24 25 propagatedBuildInputs = [ 26 aiohttp 27 ]; 28 29 checkInputs = [ 30 aioresponses 31 pytest-asyncio 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ 36 "bond_api" 37 ]; 38 39 meta = with lib; { 40 description = "Asynchronous Python wrapper library over Bond Local API"; 41 homepage = "https://github.com/prystupa/bond-api"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ dotlambda ]; 44 }; 45}