blob: c94bbc878018882561726611aaf0d5598903fd2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "errbot";
version = "6.1.9";
format = "setuptools";
src = fetchFromGitHub {
owner = "errbotio";
repo = "errbot";
rev = version;
hash = "sha256-BmHChLWWnrtg0p4WH8bANwpo+p4RTwjYbXfyPnz6mp8=";
};
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];
pythonRelaxDeps = true;
propagatedBuildInputs = with python3.pkgs; [
ansi
colorlog
daemonize
deepmerge
dulwich
flask
irc
jinja2
markdown
pyasn1
pyasn1-modules
pygments
pygments-markdown-lexer
pyopenssl
requests
slixmpp
python-telegram-bot
webtest
];
nativeCheckInputs = with python3.pkgs; [
mock
pytestCheckHook
];
# errbot-backend-slackv3 has not been packaged
pytestFlagsArray = [ "--ignore=tests/backend_tests/slack_test.py" ];
disabledTests = [
# require networking
"test_backup"
"test_broken_plugin"
"test_plugin_cycle"
];
pythonImportsCheck = [ "errbot" ];
meta = with lib; {
changelog = "https://github.com/errbotio/errbot/blob/${version}/CHANGES.rst";
description = "Chatbot designed to be simple to extend with plugins written in Python";
homepage = "http://errbot.io/";
maintainers = with maintainers; [ ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
# flaky on darwin, "RuntimeError: can't start new thread"
mainProgram = "errbot";
};
}
|