python3Packages.gevent: avoid use of vendored libraries

In addition to allowing more sharing, this fixes cross-compilation.
This commit is contained in:
Linus Heckemann 2024-03-27 14:41:54 +01:00
parent 2726f127c1
commit 82c3b6c06b

View File

@ -13,6 +13,8 @@
, zope-event , zope-event
, zope-interface , zope-interface
, pythonOlder , pythonOlder
, c-ares
, libuv
# for passthru.tests # for passthru.tests
, dulwich , dulwich
@ -43,6 +45,8 @@ buildPythonPackage rec {
buildInputs = [ buildInputs = [
libev libev
libuv
c-ares
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -69,6 +73,8 @@ buildPythonPackage rec {
pika; pika;
} // lib.filterAttrs (k: v: lib.hasInfix "gevent" k) python.pkgs; } // lib.filterAttrs (k: v: lib.hasInfix "gevent" k) python.pkgs;
GEVENTSETUP_EMBED = "0";
meta = with lib; { meta = with lib; {
description = "Coroutine-based networking library"; description = "Coroutine-based networking library";
homepage = "http://www.gevent.org/"; homepage = "http://www.gevent.org/";