python3Packages.python3-eventlib: init at 0.3.0

This commit is contained in:
Charlie Hanley 2021-09-19 19:09:57 -04:00 committed by Jonathan Ringer
parent 8693ab0672
commit 762ad924f3
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib, fetchFromGitHub, buildPythonPackage, isPy3k, zope_interface, twisted, greenlet }:
buildPythonPackage rec {
pname = "python3-eventlib";
version = "0.3.0";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "AGProjects";
repo = "python3-eventlib";
rev = version;
sha256 = "sha256-LFW3rCGa7A8tk6SjgYgjkLQ+72GE2WN8wG+XkXYTAoQ=";
};
propagatedBuildInputs = [ zope_interface twisted greenlet ];
dontUseSetuptoolsCheck = true;
pythonImportsCheck = [ "eventlib" ];
meta = with lib; {
description = "A networking library written in Python";
homepage = "https://github.com/AGProjects/python3-eventlib";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ chanley ];
longDescription = ''
Eventlib is a networking library written in Python. It achieves high
scalability by using non-blocking I/O while at the same time retaining
high programmer usability by using coroutines to make the non-blocking io
operations appear blocking at the source code level.
'';
};
}

View File

@ -7150,6 +7150,8 @@ in {
pytest-xvfb = callPackage ../development/python-modules/pytest-xvfb { };
python3-eventlib = callPackage ../development/python-modules/python3-eventlib { };
python3-openid = callPackage ../development/python-modules/python3-openid { };
python-awair = callPackage ../development/python-modules/python-awair { };