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