2018-10-29 12:24:24 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-08-26 22:57:44 +01:00
|
|
|
, pythonOlder
|
2018-10-29 12:24:24 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioprocessing";
|
2021-08-27 04:43:28 +01:00
|
|
|
version = "2.0.0";
|
2021-08-26 22:57:44 +01:00
|
|
|
disabled = pythonOlder "3.4";
|
2018-10-29 12:24:24 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-27 04:43:28 +01:00
|
|
|
sha256 = "469dfb746e8c4e0c727ba135cfabf9e034c554f6a73c27f908bfe3625dd74b9e";
|
2018-10-29 12:24:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests aren't included in pypi package
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-26 22:57:44 +01:00
|
|
|
pythonImportsCheck = [ "aioprocessing" ];
|
|
|
|
|
2018-10-29 12:24:24 +00:00
|
|
|
meta = {
|
|
|
|
description = "A library that integrates the multiprocessing module with asyncio";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/dano/aioprocessing";
|
2018-10-29 12:24:24 +00:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = with lib.maintainers; [ uskudnik ];
|
|
|
|
};
|
|
|
|
}
|