lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python312Packages.snitun: format with nixfmt

+46 -44
+46 -44
pkgs/development/python-modules/snitun/default.nix
··· 1 - { lib 2 - , stdenv 3 - , aiohttp 4 - , async-timeout 5 - , attrs 6 - , buildPythonPackage 7 - , cryptography 8 - , fetchFromGitHub 9 - , pytest-aiohttp 10 - , pytestCheckHook 11 - , pythonAtLeast 12 - , pythonOlder 13 - , setuptools 1 + { 2 + lib, 3 + stdenv, 4 + aiohttp, 5 + async-timeout, 6 + attrs, 7 + buildPythonPackage, 8 + cryptography, 9 + fetchFromGitHub, 10 + pytest-aiohttp, 11 + pytestCheckHook, 12 + pythonAtLeast, 13 + pythonOlder, 14 + setuptools, 14 15 }: 15 16 16 17 buildPythonPackage rec { ··· 27 28 hash = "sha256-jewDQqvLUh/066BSEADXkCvjLFRnodKtUPKfvi0KUpI="; 28 29 }; 29 30 30 - build-system = [ 31 - setuptools 32 - ]; 31 + build-system = [ setuptools ]; 33 32 34 33 dependencies = [ 35 34 aiohttp ··· 43 42 pytestCheckHook 44 43 ]; 45 44 46 - disabledTests = [ 47 - # AssertionError: Expected 'fileno' to not have been called. Called 1 times. 48 - "test_client_stop_no_wait" 49 - ] ++ lib.optionals stdenv.isDarwin [ 50 - "test_multiplexer_data_channel_abort_full" # https://github.com/NabuCasa/snitun/issues/61 51 - # port binding conflicts 52 - "test_snitun_single_runner_timeout" 53 - "test_snitun_single_runner_throttling" 54 - # ConnectionResetError: [Errno 54] Connection reset by peer 55 - "test_peer_listener_timeout" 56 - ] ++ lib.optionals (pythonAtLeast "3.12") [ 57 - # blocking 58 - "test_flow_client_peer" 59 - "test_close_client_peer" 60 - "test_init_connector" 61 - "test_flow_connector" 62 - "test_close_connector_remote" 63 - "test_init_connector_whitelist" 64 - "test_init_multiplexer_server" 65 - "test_init_multiplexer_client" 66 - "test_init_multiplexer_server_throttling" 67 - "test_init_multiplexer_client_throttling" 68 - "test_multiplexer_ping" 69 - "test_multiplexer_ping_error" 70 - "test_multiplexer_init_channel_full" 71 - "test_multiplexer_close_channel_full" 72 - "test_init_dual_peer_with_multiplexer" 73 - ]; 45 + disabledTests = 46 + [ 47 + # AssertionError: Expected 'fileno' to not have been called. Called 1 times. 48 + "test_client_stop_no_wait" 49 + ] 50 + ++ lib.optionals stdenv.isDarwin [ 51 + "test_multiplexer_data_channel_abort_full" # https://github.com/NabuCasa/snitun/issues/61 52 + # port binding conflicts 53 + "test_snitun_single_runner_timeout" 54 + "test_snitun_single_runner_throttling" 55 + # ConnectionResetError: [Errno 54] Connection reset by peer 56 + "test_peer_listener_timeout" 57 + ] 58 + ++ lib.optionals (pythonAtLeast "3.12") [ 59 + # blocking 60 + "test_flow_client_peer" 61 + "test_close_client_peer" 62 + "test_init_connector" 63 + "test_flow_connector" 64 + "test_close_connector_remote" 65 + "test_init_connector_whitelist" 66 + "test_init_multiplexer_server" 67 + "test_init_multiplexer_client" 68 + "test_init_multiplexer_server_throttling" 69 + "test_init_multiplexer_client_throttling" 70 + "test_multiplexer_ping" 71 + "test_multiplexer_ping_error" 72 + "test_multiplexer_init_channel_full" 73 + "test_multiplexer_close_channel_full" 74 + "test_init_dual_peer_with_multiplexer" 75 + ]; 74 76 75 77 pythonImportsCheck = [ "snitun" ]; 76 78