Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions pkgs/development/python-modules/kantoku/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
flit-core,
gevent,
mock,
Expand All @@ -14,15 +15,15 @@
tornado,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "kantoku";
version = "0.18.3";
pyproject = true;

src = fetchFromGitHub {
owner = "bentoml";
repo = "kantoku";
tag = version;
tag = finalAttrs.version;
hash = "sha256-pI79B7TDZwL4Jz5e7PDPIf8iIGiwCOKFI2jReUt8UNg=";
};

Expand Down Expand Up @@ -52,15 +53,22 @@ buildPythonPackage rec {
# 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/${version}";
changelog = "https://github.com/bentoml/kantoku/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})
Loading