Merge pull request #108316 from fabaff/aiomultiprocess

python3Packages.aiomultiprocess: init at 0.8.0
This commit is contained in:
Pavol Rusnak 2021-01-03 18:56:10 +01:00 committed by GitHub
commit 389332116b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aiomultiprocess";
version = "0.8.0";
src = fetchFromGitHub {
owner = "omnilib";
repo = pname;
rev = "v${version}";
sha256 = "0vkj1vgvlv828pi3sn0hjzdy9f0j63gljs2ylibbsaixa7mbkpvy";
};
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "aiomultiprocess/tests/*.py" ];
pythonImportsCheck = [ "aiomultiprocess" ];
meta = with lib; {
description = "Python module to improve performance";
longDescription = ''
aiomultiprocess presents a simple interface, while running a full
AsyncIO event loop on each child process, enabling levels of
concurrency never before seen in a Python application. Each child
process can execute multiple coroutines at once, limited only by
the workload and number of cores available.
'';
homepage = "https://github.com/omnilib/aiomultiprocess";
license = with licenses; [ mit ];
maintainers = [ maintainers.fab ];
};
}

@ -237,6 +237,8 @@ in {
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };
aiomultiprocess = callPackage ../development/python-modules/aiomultiprocess { };
aiomysql = callPackage ../development/python-modules/aiomysql { };
aionotify = callPackage ../development/python-modules/aionotify { };