1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 flit-core,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "aioprocessing";
11 version = "2.0.1";
12 format = "pyproject";
13
14 disabled = pythonOlder "3.5";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-/gHHsaOMeBaGEdMEDnPZMDbDt8imSdY23J7Xo7ybG6I=";
19 };
20
21 nativeBuildInputs = [ flit-core ];
22
23 # Tests aren't included in pypi package
24 doCheck = false;
25
26 pythonImportsCheck = [ "aioprocessing" ];
27
28 meta = with lib; {
29 description = "Library that integrates the multiprocessing module with asyncio";
30 homepage = "https://github.com/dano/aioprocessing";
31 license = licenses.bsd2;
32 maintainers = with maintainers; [ uskudnik ];
33 };
34}