@@ -0,0 +1,36 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, pytestCheckHook
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "aiomultiprocess";
9+ version = "0.8.0";
10+
11+ src = fetchFromGitHub {
12+ owner = "omnilib";
13+ repo = pname;
14+ rev = "v${version}";
15+ sha256 = "0vkj1vgvlv828pi3sn0hjzdy9f0j63gljs2ylibbsaixa7mbkpvy";
16+ };
17+
18+ checkInputs = [ pytestCheckHook ];
19+
20+ pytestFlagsArray = [ "aiomultiprocess/tests/*.py" ];
21+ pythonImportsCheck = [ "aiomultiprocess" ];
22+
23+ meta = with lib; {
24+ description = "Python module to improve performance";
25+ longDescription = ''
26+ aiomultiprocess presents a simple interface, while running a full
27+ AsyncIO event loop on each child process, enabling levels of
28+ concurrency never before seen in a Python application. Each child
29+ process can execute multiple coroutines at once, limited only by
30+ the workload and number of cores available.
31+ '';
32+ homepage = "https://github.com/omnilib/aiomultiprocess";
33+ license = with licenses; [ mit ];
34+ maintainers = [ maintainers.fab ];
35+ };
36+}