2021-02-05 10:27:13 +01:00
|
|
|
{ lib
|
|
|
|
, ansi
|
|
|
|
, buildPythonApplication
|
|
|
|
, colorlog
|
|
|
|
, daemonize
|
|
|
|
, deepmerge
|
|
|
|
, dulwich
|
|
|
|
, fetchFromGitHub
|
|
|
|
, flask
|
|
|
|
, glibcLocales
|
|
|
|
, hypchat
|
|
|
|
, irc
|
|
|
|
, jinja2
|
|
|
|
, markdown
|
|
|
|
, mock
|
|
|
|
, pyasn1
|
|
|
|
, pyasn1-modules
|
|
|
|
, pygments
|
|
|
|
, pygments-markdown-lexer
|
|
|
|
, pyopenssl
|
|
|
|
, pytestCheckHook
|
|
|
|
, requests
|
|
|
|
, slackclient
|
|
|
|
, sleekxmpp
|
|
|
|
, telegram
|
|
|
|
, webtest
|
|
|
|
}:
|
2019-08-30 19:04:45 +02:00
|
|
|
|
2021-02-05 10:27:13 +01:00
|
|
|
buildPythonApplication rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "errbot";
|
2021-02-05 10:27:13 +01:00
|
|
|
version = "6.1.7";
|
2016-07-01 16:04:01 +02:00
|
|
|
|
2019-08-30 19:04:45 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "errbotio";
|
|
|
|
repo = "errbot";
|
|
|
|
rev = version;
|
2021-02-05 10:27:13 +01:00
|
|
|
sha256 = "02h44qd3d91zy657hyqsw3gskgxg31848pw6zpb8dhd1x84z5y77";
|
2016-07-01 16:04:01 +02:00
|
|
|
};
|
|
|
|
|
2017-08-28 01:56:16 +02:00
|
|
|
LC_ALL = "en_US.utf8";
|
|
|
|
|
2017-08-30 22:23:28 +02:00
|
|
|
buildInputs = [ glibcLocales ];
|
2021-02-05 10:27:13 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ansi
|
|
|
|
colorlog
|
|
|
|
daemonize
|
|
|
|
deepmerge
|
|
|
|
dulwich
|
|
|
|
flask
|
|
|
|
hypchat
|
|
|
|
irc
|
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
pyasn1
|
|
|
|
pyasn1-modules
|
|
|
|
pygments
|
|
|
|
pygments-markdown-lexer
|
|
|
|
pyopenssl
|
|
|
|
requests
|
|
|
|
slackclient
|
|
|
|
sleekxmpp
|
|
|
|
telegram
|
|
|
|
webtest
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
# Slack backend test has an import issue
|
|
|
|
pytestFlagsArray = [ "--ignore=tests/backend_tests/slack_test.py" ];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
"backup"
|
|
|
|
"broken_plugin"
|
|
|
|
"plugin_cycle"
|
2016-07-01 16:04:01 +02:00
|
|
|
];
|
|
|
|
|
2021-02-05 10:27:13 +01:00
|
|
|
pythonImportsCheck = [ "errbot" ];
|
2019-08-30 19:04:45 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2016-07-01 16:04:01 +02:00
|
|
|
description = "Chatbot designed to be simple to extend with plugins written in Python";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://errbot.io/";
|
2016-09-28 19:26:47 +02:00
|
|
|
maintainers = with maintainers; [ fpletz globin ];
|
2021-02-05 10:27:13 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2020-03-01 00:08:30 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
# flaky on darwin, "RuntimeError: can't start new thread"
|
2016-07-01 16:04:01 +02:00
|
|
|
};
|
|
|
|
}
|