Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi 2, aiohttp, jsonrpc-base, pep8 }: 3 4buildPythonPackage rec { 5 pname = "jsonrpc-websocket"; 6 version = "1.1.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "029gxp6f06gmba7glxfdz5xfhs5kkqph7x78k38qqvdrmca4z450"; 11 }; 12 13 nativeBuildInputs = [ pep8 ]; 14 15 propagatedBuildInputs = [ aiohttp jsonrpc-base ]; 16 17 meta = with stdenv.lib; { 18 description = "A JSON-RPC websocket client library for asyncio"; 19 homepage = "https://github.com/armills/jsonrpc-websocket"; 20 license = licenses.bsd3; 21 maintainers = with maintainers; [ peterhoeg ]; 22 }; 23}