Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.2 KiB
Nix

{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
flit-core,
gevent,
mock,
psutil,
pytest-cov-stub,
pytestCheckHook,
pyyaml,
pyzmq,
tornado,
}:
buildPythonPackage rec {
pname = "kantoku";
version = "0.18.3";
pyproject = true;
src = fetchFromGitHub {
owner = "bentoml";
repo = "kantoku";
tag = 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"
];
__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/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}