2021-01-25 08:26:54 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, vcversioner, pytestrunner, mock, pytest, pytest-asyncio, pytest-trio, twisted, zipp, pyparsing, pyhamcrest, futures, attrs, isPy27 }:
|
2020-11-17 19:57:14 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyee";
|
2020-11-29 14:04:37 +00:00
|
|
|
version = "8.1.0";
|
2020-11-17 19:57:14 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:37 +00:00
|
|
|
sha256 = "92dacc5bd2bdb8f95aa8dd2585d47ca1c4840e2adb95ccf90034d64f725bfd31";
|
2020-11-17 19:57:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
vcversioner
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
mock
|
|
|
|
pyhamcrest
|
|
|
|
pytest
|
|
|
|
pytest-asyncio
|
|
|
|
pytest-trio
|
|
|
|
pytestrunner
|
|
|
|
twisted
|
2021-01-24 00:29:22 +00:00
|
|
|
] ++ lib.optional isPy27 [
|
2020-11-17 19:57:14 +00:00
|
|
|
attrs
|
|
|
|
futures
|
|
|
|
pyparsing
|
|
|
|
zipp
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A port of Node.js's EventEmitter to python";
|
|
|
|
homepage = "https://github.com/jfhbrook/pyee";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ kmein ];
|
|
|
|
};
|
|
|
|
}
|