1{ stdenv, buildPythonPackage, fetchPypi 2, aiohttp, jsonrpc-base }: 3 4buildPythonPackage rec { 5 pname = "jsonrpc-websocket"; 6 version = "0.5"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "0cijqb8fvv9iq5ds9y5sj0gd6lapi90mgqvpkczp28fxz440ihq4"; 11 }; 12 13 propagatedBuildInputs = [ aiohttp jsonrpc-base ]; 14 15 meta = with stdenv.lib; { 16 description = "A JSON-RPC websocket client library for asyncio"; 17 homepage = https://github.com/armills/jsonrpc-websocket; 18 license = licenses.bsd3; 19 maintainers = with maintainers; [ peterhoeg ]; 20 }; 21}