9 buildPythonPackage rec {
10 pname = "aiomultiprocess";
13 disabled = pythonOlder "3.6";
15 src = fetchFromGitHub {
19 sha256 = "sha256-yOP69FXDb2Grmtszx7oa6uiJGUar8su3KwqQPI+xjrw=";
22 nativeBuildInputs = [ flit-core ];
24 checkInputs = [ pytestCheckHook ];
26 pytestFlagsArray = [ "aiomultiprocess/tests/*.py" ];
29 # tests are flaky and make the whole test suite time out
30 "test_pool_worker_exceptions"
31 "test_pool_worker_max_tasks"
32 "test_pool_worker_stop"
35 pythonImportsCheck = [ "aiomultiprocess" ];
38 description = "Python module to improve performance";
40 aiomultiprocess presents a simple interface, while running a full
41 AsyncIO event loop on each child process, enabling levels of
42 concurrency never before seen in a Python application. Each child
43 process can execute multiple coroutines at once, limited only by
44 the workload and number of cores available.
46 homepage = "https://github.com/omnilib/aiomultiprocess";
47 license = with licenses; [ mit ];
48 maintainers = [ maintainers.fab ];