Something went wrong. Try again.
lol
Something went wrong. Try again.
1.5 kB · 74 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonAtLeast, flit-core, gevent, mock, psutil, pytest-cov-stub, pytestCheckHook, pyyaml, pyzmq, tornado,}:
buildPythonPackage (finalAttrs: { pname = "kantoku"; version = "0.18.3"; pyproject = true;
src = fetchFromGitHub { owner = "bentoml"; repo = "kantoku"; tag = finalAttrs.version; hash = "sha256-pI79B7TDZwL4Jz5e7PDPIf8iIGiwCOKFI2jReUt8UNg="; };
build-system = [ flit-core ];
dependencies = [ psutil pyzmq tornado ];
nativeCheckInputs = [ gevent mock pytest-cov-stub pytestCheckHook pyyaml ];
pythonImportsCheck = [ "circus" ];
disabledTests = [ # AssertionError "test_streams" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Assertion error when test_socketstats hits a permission error "test_resource_watcher_max_mem" "test_resource_watcher_max_mem_abs" ] ++ lib.optionals (pythonAtLeast "3.14") [ "test_help_invalid_command" "test_venv" "test_venv_site_packages" # Times out "test_handler" ];
__darwinAllowLocalNetworking = true;
meta = { description = "A Process & Socket Manager built with zmq"; homepage = "https://github.com/bentoml/kantoku"; changelog = "https://github.com/bentoml/kantoku/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})