at 23.11-beta 1.2 kB view raw
1{ lib, stdenv, cffi }: 2 3if cffi == null then null else cffi.overridePythonAttrs { 4 disabledTests = lib.optionals stdenv.isDarwin [ 5 # cannot load library 'c' 6 "test_FILE" 7 "test_FILE_object" 8 "test_FILE_only_for_FILE_arg" 9 "test_load_and_call_function" 10 "test_load_library" 11 12 # cannot load library 'dl' 13 "test_dlopen_handle" 14 15 # cannot load library 'm' 16 "test_dir_on_dlopen_lib" 17 "test_dlclose" 18 "test_dlopen" 19 "test_dlopen_constant" 20 "test_dlopen_flags" 21 "test_function_typedef" 22 "test_line_continuation_in_defines" 23 "test_missing_function" 24 "test_remove_comments" 25 "test_remove_line_continuation_comments" 26 "test_simple" 27 "test_sin" 28 "test_sinf" 29 "test_stdcall_only_on_windows" 30 "test_wraps_from_stdlib" 31 32 # MemoryError 33 "test_callback_as_function_argument" 34 "test_callback_crash" 35 "test_callback_decorator" 36 "test_callback_large_struct" 37 "test_callback_returning_void" 38 "test_cast_functionptr_and_int" 39 "test_function_pointer" 40 "test_functionptr_intptr_return" 41 "test_functionptr_simple" 42 "test_functionptr_void_return" 43 "test_functionptr_voidptr_return" 44 ]; 45}