Skip to content

Commit 8d0d701

Browse files
committed
python312Packages.meinheld: fix build with GCC
1 parent a0e7edf commit 8d0d701

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/development/python-modules/meinheld/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
lib,
3+
stdenv,
4+
pythonAtLeast,
35
fetchPypi,
46
buildPythonPackage,
57
greenlet,
@@ -10,6 +12,8 @@ buildPythonPackage rec {
1012
version = "1.0.2";
1113
format = "setuptools";
1214

15+
disabled = pythonAtLeast "3.13";
16+
1317
src = fetchPypi {
1418
inherit pname version;
1519
sha256 = "008c76937ac2117cc69e032dc69cea9f85fc605de9bac1417f447c41c16a56d6";
@@ -21,6 +25,8 @@ buildPythonPackage rec {
2125
substituteInPlace setup.py --replace "greenlet>=0.4.5,<0.5" "greenlet>=0.4.5"
2226
'';
2327

28+
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=implicit-function-declaration";
29+
2430
propagatedBuildInputs = [ greenlet ];
2531

2632
# No tests

0 commit comments

Comments
 (0)