diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-03 14:00:47 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-03 14:00:47 +0100 |
commit | 9e4f214de36f50f294422247f9f1a582cbcfe6a2 (patch) | |
tree | d7201833e77cd87b480bd96aee3d160698250f36 /pkgs/development/python-modules/aiomultiprocess | |
parent | 20489e31cd2cada27690612689a3bf5e608c5109 (diff) |
python3Packages.aiomultiprocess: init at 0.8.0
Diffstat (limited to 'pkgs/development/python-modules/aiomultiprocess')
-rw-r--r-- | pkgs/development/python-modules/aiomultiprocess/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiomultiprocess/default.nix b/pkgs/development/python-modules/aiomultiprocess/default.nix new file mode 100644 index 0000000000000..9b648d5953790 --- /dev/null +++ b/pkgs/development/python-modules/aiomultiprocess/default.nix @@ -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 ]; + }; +} |