2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-09-22 12:36:57 +00:00
|
|
|
, flit-core
|
2021-08-27 14:25:00 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioprocessing";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "2.0.1";
|
|
|
|
format = "flit";
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-22 12:36:57 +00:00
|
|
|
hash = "sha256-/gHHsaOMeBaGEdMEDnPZMDbDt8imSdY23J7Xo7ybG6I=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
flit-core
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# Tests aren't included in pypi package
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"aioprocessing"
|
|
|
|
];
|
2021-08-27 14:25:00 +00:00
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Library that integrates the multiprocessing module with asyncio";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/dano/aioprocessing";
|
2022-09-22 12:36:57 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ uskudnik ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|