Files
nixpkgs/pkgs/development/python-modules/waitress/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

47 lines
852 B
Nix

{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "waitress";
version = "3.0.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-aCqq8q8MRK2kq/tw3tNjk/DjB/SrlFaiFc4AILrvwx8=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "waitress" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
doCheck = !stdenv.hostPlatform.isDarwin;
disabledTests = [
# access to socket
"test_service_port"
];
# Tests use sockets
__darwinAllowLocalNetworking = true;
meta = with lib; {
homepage = "https://github.com/Pylons/waitress";
description = "Waitress WSGI server";
mainProgram = "waitress-serve";
license = licenses.zpl21;
maintainers = [ ];
};
}