mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-08 14:16:50 +00:00
Merge pull request #319171 from getchoo/pkgs/gunicorn/adopt
python311Packages.gunicorn: adopt; modernize
This commit is contained in:
commit
cd2d0ba147
@ -38,11 +38,11 @@ buildPythonPackage rec {
|
|||||||
--replace "--cov=gunicorn --cov-report=xml" ""
|
--replace "--cov=gunicorn --cov-report=xml" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ packaging ];
|
dependencies = [ packaging ];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
optional-dependencies = {
|
||||||
gevent = [ gevent ];
|
gevent = [ gevent ];
|
||||||
eventlet = [ eventlet ];
|
eventlet = [ eventlet ];
|
||||||
tornado = [ tornado ];
|
tornado = [ tornado ];
|
||||||
@ -52,16 +52,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "gunicorn" ];
|
pythonImportsCheck = [ "gunicorn" ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||||
pytestCheckHook
|
|
||||||
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
changelog = "https://github.com/benoitc/gunicorn/releases/tag/${version}";
|
|
||||||
homepage = "https://github.com/benoitc/gunicorn";
|
|
||||||
description = "gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications";
|
description = "gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications";
|
||||||
license = licenses.mit;
|
homepage = "https://github.com/benoitc/gunicorn";
|
||||||
maintainers = with maintainers; [ ];
|
changelog = "https://github.com/benoitc/gunicorn/releases/tag/${version}";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ getchoo ];
|
||||||
mainProgram = "gunicorn";
|
mainProgram = "gunicorn";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user