at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 gevent, 7 mock, 8 psutil, 9 pytest-cov-stub, 10 pytestCheckHook, 11 pyyaml, 12 pyzmq, 13 tornado, 14}: 15 16buildPythonPackage rec { 17 pname = "kantoku"; 18 version = "0.18.3"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "bentoml"; 23 repo = "kantoku"; 24 tag = version; 25 hash = "sha256-pI79B7TDZwL4Jz5e7PDPIf8iIGiwCOKFI2jReUt8UNg="; 26 }; 27 28 build-system = [ flit-core ]; 29 30 dependencies = [ 31 psutil 32 pyzmq 33 tornado 34 ]; 35 36 nativeCheckInputs = [ 37 gevent 38 mock 39 pytest-cov-stub 40 pytestCheckHook 41 pyyaml 42 ]; 43 44 pythonImportsCheck = [ "circus" ]; 45 46 disabledTests = [ 47 # AssertionError 48 "test_streams" 49 ]; 50 51 meta = { 52 description = "A Process & Socket Manager built with zmq"; 53 homepage = "https://github.com/bentoml/kantoku"; 54 changelog = "https://github.com/bentoml/kantoku/releases/tag/${version}"; 55 license = lib.licenses.asl20; 56 maintainers = with lib.maintainers; [ fab ]; 57 }; 58}