1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5
6 gevent,
7
8 pytestCheckHook,
9
10 setuptools,
11}:
12buildPythonPackage rec {
13 pname = "gevent-eventemitter";
14 version = "2.1";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "rossengeorgiev";
19 repo = "gevent-eventemitter";
20 tag = "v${version}";
21 hash = "sha256-aW4OsQi3N5yAMdbTd8rxbb2qYMfFJBR4WQFIXvxpiMw=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 gevent
28 ];
29
30 nativeCheckInputs = [
31 pytestCheckHook
32 ];
33
34 meta = {
35 description = "EventEmitter using gevent";
36 homepage = "https://github.com/rossengeorgiev/gevent-eventemitter";
37 license = lib.licenses.mit;
38 platforms = lib.platforms.linux;
39 maintainers = with lib.maintainers; [ weirdrock ];
40 };
41}