Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 706 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, jsonrpc-base 6, pytest-asyncio 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "jsonrpc-websocket"; 12 version = "3.0.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0fmw8xjzlhi7r84swn4w3njy389qqll5ad5ljdq5n2wpg424k98h"; 17 }; 18 19 propagatedBuildInputs = [ 20 aiohttp 21 jsonrpc-base 22 ]; 23 24 checkInputs = [ 25 pytestCheckHook 26 pytest-asyncio 27 ]; 28 29 pytestFlagsArray = [ "tests.py" ]; 30 31 meta = with lib; { 32 description = "A JSON-RPC websocket client library for asyncio"; 33 homepage = "https://github.com/emlove/jsonrpc-websocket"; 34 license = licenses.bsd3; 35 maintainers = with maintainers; [ peterhoeg ]; 36 }; 37}