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