at master 793 B view raw
1{ 2 lib, 3 stdenv, 4 pythonAtLeast, 5 fetchPypi, 6 buildPythonPackage, 7 setuptools, 8 greenlet, 9}: 10 11buildPythonPackage rec { 12 pname = "meinheld"; 13 version = "1.0.2"; 14 pyproject = true; 15 16 disabled = pythonAtLeast "3.13"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-AIx2k3rCEXzGngMtxpzqn4X8YF3pusFBf0R8QcFqVtY="; 21 }; 22 23 pythonRelaxDeps = [ "greenlet" ]; 24 25 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=implicit-function-declaration"; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ greenlet ]; 30 31 # No tests 32 doCheck = false; 33 34 pythonImportsCheck = [ "meinheld" ]; 35 36 meta = { 37 description = "High performance asynchronous Python WSGI Web Server"; 38 homepage = "https://meinheld.org/"; 39 license = lib.licenses.bsd3; 40 }; 41}