@@ -0,0 +1,37 @@
1+{ buildPythonPackage, fetchPypi, lib, vcversioner, pytestrunner, mock, pytest, pytest-asyncio, pytest-trio, twisted, zipp, pyparsing, pyhamcrest, futures, attrs, stdenv, isPy27 }:
2+
3+buildPythonPackage rec {
4+ pname = "pyee";
5+ version = "7.0.4";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "105n8jzw8vy6cm8mm5sm86mwyaqqr8zjh8w9xvcb7hp29p0vrihm";
10+ };
11+
12+ buildInputs = [
13+ vcversioner
14+ ];
15+
16+ checkInputs = [
17+ mock
18+ pyhamcrest
19+ pytest
20+ pytest-asyncio
21+ pytest-trio
22+ pytestrunner
23+ twisted
24+ ] ++ stdenv.lib.optional isPy27 [
25+ attrs
26+ futures
27+ pyparsing
28+ zipp
29+ ];
30+
31+ meta = {
32+ description = "A port of Node.js's EventEmitter to python";
33+ homepage = "https://github.com/jfhbrook/pyee";
34+ license = lib.licenses.mit;
35+ maintainers = with lib.maintainers; [ kmein ];
36+ };
37+}