1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, aiohttp 5, jsonrpc-base 6, pytest-aiohttp 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "jsonrpc-async"; 12 version = "2.0.0"; 13 14 src = fetchFromGitHub { 15 owner = "emlove"; 16 repo = pname; 17 rev = version; 18 sha256 = "1ff3523rwgira5llmf5iriwqag7b6ln9vmj0s70yyc6k98yg06rp"; 19 }; 20 21 propagatedBuildInputs = [ aiohttp jsonrpc-base ]; 22 23 checkInputs = [ 24 pytest-aiohttp 25 pytestCheckHook 26 ]; 27 28 pytestFlagsArray = [ 29 "tests.py" 30 ]; 31 32 meta = with lib; { 33 description = "A JSON-RPC client library for asyncio"; 34 homepage = "https://github.com/emlove/jsonrpc-async"; 35 license = licenses.bsd3; 36 maintainers = with maintainers; [ peterhoeg ]; 37 }; 38}