Merge #321120: python311Packages.gunicorn: 21.2.0 -> 22.0.0
...into staging
This commit is contained in:
@@ -17,27 +17,23 @@
|
||||
setproctitle,
|
||||
|
||||
pytestCheckHook,
|
||||
pytest-cov,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gunicorn";
|
||||
version = "21.2.0";
|
||||
version = "22.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "benoitc";
|
||||
repo = "gunicorn";
|
||||
rev = version;
|
||||
hash = "sha256-xP7NNKtz3KNrhcAc00ovLZRx2h6ZqHbwiFOpCiuwf98=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-xIXQMAdTZEBORu6789tLpT1OpBL+aveL/MfDj4f4bes=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=gunicorn --cov-report=xml" ""
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ packaging ];
|
||||
@@ -52,7 +48,10 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "gunicorn" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
meta = {
|
||||
description = "gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications";
|
||||
|
||||
Reference in New Issue
Block a user