diff --git a/pkgs/development/python-modules/aioprocessing/default.nix b/pkgs/development/python-modules/aioprocessing/default.nix new file mode 100644 index 000000000000..f2f959112688 --- /dev/null +++ b/pkgs/development/python-modules/aioprocessing/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonAtLeast +}: + +buildPythonPackage rec { + pname = "aioprocessing"; + version = "1.0.1"; + disabled = !(pythonAtLeast "3.4"); + + src = fetchPypi { + inherit pname version; + sha256 = "1yq1gfsky2kjimwdmzqk893sp6387vbl4bw0sbha5hl6cm3jp5dn"; + }; + + # Tests aren't included in pypi package + doCheck = false; + + meta = { + description = "A library that integrates the multiprocessing module with asyncio"; + homepage = https://github.com/dano/aioprocessing; + license = lib.licenses.bsd2; + maintainers = with lib.maintainers; [ uskudnik ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c6c59eb31e99..043d20d04822 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -708,6 +708,8 @@ in { aiohttp-jinja2 = callPackage ../development/python-modules/aiohttp-jinja2 { }; + aioprocessing = callPackage ../development/python-modules/aioprocessing { }; + ajpy = callPackage ../development/python-modules/ajpy { }; alabaster = callPackage ../development/python-modules/alabaster {};