From dfea2974aa3e1fc11e2137ef960186820d863b2a Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 14 Jan 2026 21:29:42 +0100 Subject: [PATCH] python2Packages.cffi: drop --- .../python2-modules/cffi/default.nix | 52 ------------------- pkgs/top-level/python2-packages.nix | 2 +- 2 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 pkgs/development/python2-modules/cffi/default.nix diff --git a/pkgs/development/python2-modules/cffi/default.nix b/pkgs/development/python2-modules/cffi/default.nix deleted file mode 100644 index 52ed21c84918..000000000000 --- a/pkgs/development/python2-modules/cffi/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ - lib, - stdenv, - cffi, -}: - -if cffi == null then - null -else - cffi.overridePythonAttrs { - disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ - # cannot load library 'c' - "test_FILE" - "test_FILE_object" - "test_FILE_only_for_FILE_arg" - "test_load_and_call_function" - "test_load_library" - - # cannot load library 'dl' - "test_dlopen_handle" - - # cannot load library 'm' - "test_dir_on_dlopen_lib" - "test_dlclose" - "test_dlopen" - "test_dlopen_constant" - "test_dlopen_flags" - "test_function_typedef" - "test_line_continuation_in_defines" - "test_missing_function" - "test_remove_comments" - "test_remove_line_continuation_comments" - "test_simple" - "test_sin" - "test_sinf" - "test_stdcall_only_on_windows" - "test_wraps_from_stdlib" - - # MemoryError - "test_callback_as_function_argument" - "test_callback_crash" - "test_callback_decorator" - "test_callback_large_struct" - "test_callback_returning_void" - "test_cast_functionptr_and_int" - "test_function_pointer" - "test_functionptr_intptr_return" - "test_functionptr_simple" - "test_functionptr_void_return" - "test_functionptr_voidptr_return" - ]; - } diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index 81af93a7e2e0..7e5846555d78 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -15,7 +15,7 @@ with super; bootstrapped-pip = toPythonModule (callPackage ../development/python2-modules/bootstrapped-pip { }); - cffi = callPackage ../development/python2-modules/cffi { inherit cffi; }; + cffi = disabed super.cffi; configparser = callPackage ../development/python2-modules/configparser { };