From 82c3b6c06bb1eb1be41c7e9c5cdec20b7eba1e59 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Wed, 27 Mar 2024 14:41:54 +0100 Subject: [PATCH] python3Packages.gevent: avoid use of vendored libraries In addition to allowing more sharing, this fixes cross-compilation. --- pkgs/development/python-modules/gevent/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/gevent/default.nix b/pkgs/development/python-modules/gevent/default.nix index d6264794a505..69165ceab1ab 100644 --- a/pkgs/development/python-modules/gevent/default.nix +++ b/pkgs/development/python-modules/gevent/default.nix @@ -13,6 +13,8 @@ , zope-event , zope-interface , pythonOlder +, c-ares +, libuv # for passthru.tests , dulwich @@ -43,6 +45,8 @@ buildPythonPackage rec { buildInputs = [ libev + libuv + c-ares ]; propagatedBuildInputs = [ @@ -69,6 +73,8 @@ buildPythonPackage rec { pika; } // lib.filterAttrs (k: v: lib.hasInfix "gevent" k) python.pkgs; + GEVENTSETUP_EMBED = "0"; + meta = with lib; { description = "Coroutine-based networking library"; homepage = "http://www.gevent.org/";