10 buildPythonPackage rec {
11 pname = "aiomultiprocess";
15 disabled = pythonOlder "3.6";
17 src = fetchFromGitHub {
19 repo = "aiomultiprocess";
21 hash = "sha256-LWrAr3i2CgOMZFxWi9B3kiou0UtaHdDbpkr6f9pReRA=";
24 build-system = [ flit-core ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pytestFlagsArray = [ "aiomultiprocess/tests/*.py" ];
31 # tests are flaky and make the whole test suite time out
32 "test_pool_worker_exceptions"
33 "test_pool_worker_max_tasks"
34 "test_pool_worker_stop"
35 # error message changed with python 3.12
39 pythonImportsCheck = [ "aiomultiprocess" ];
42 description = "Python module to improve performance";
44 aiomultiprocess presents a simple interface, while running a full
45 AsyncIO event loop on each child process, enabling levels of
46 concurrency never before seen in a Python application. Each child
47 process can execute multiple coroutines at once, limited only by
48 the workload and number of cores available.
50 homepage = "https://github.com/omnilib/aiomultiprocess";
51 license = with licenses; [ mit ];
52 maintainers = [ maintainers.fab ];