13 buildPythonPackage rec {
14 pname = "trio-websocket";
16 format = "setuptools";
18 src = fetchFromGitHub {
19 owner = "HyperionGray";
20 repo = "trio-websocket";
22 hash = "sha256-djoTxkIKY52l+WnxL1FwlqrU/zvsLVkPUAHn9BxJ45k=";
25 propagatedBuildInputs = [
37 disabledTests = lib.optionals stdenv.isDarwin [
38 # Failed: DID NOT RAISE <class 'ValueError'>
39 "test_finalization_dropped_exception"
41 "test_client_close_timeout"
42 "test_cm_exit_with_pending_messages"
43 "test_server_close_timeout"
44 "test_server_handler_exit"
45 "test_server_open_timeout"
48 __darwinAllowLocalNetworking = true;
50 pythonImportsCheck = [ "trio_websocket" ];
53 changelog = "https://github.com/HyperionGray/trio-websocket/blob/${version}/CHANGELOG.md";
54 description = "WebSocket client and server implementation for Python Trio";
55 homepage = "https://github.com/HyperionGray/trio-websocket";
56 license = licenses.mit;
57 maintainers = with maintainers; [ ];