e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ lib, fetchFromGitHub, buildPythonPackage, isPy3k, zope-interface, twisted, greenlet }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python3-eventlib";
|
|
version = "0.3.0";
|
|
format = "setuptools";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AGProjects";
|
|
repo = "python3-eventlib";
|
|
rev = version;
|
|
hash = "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.
|
|
'';
|
|
};
|
|
}
|