at 22.05-pre 91 lines 1.5 kB view raw
1{ lib 2, ansi 3, buildPythonApplication 4, colorlog 5, daemonize 6, deepmerge 7, dulwich 8, fetchFromGitHub 9, flask 10, glibcLocales 11, hypchat 12, irc 13, jinja2 14, markdown 15, mock 16, pyasn1 17, pyasn1-modules 18, pygments 19, pygments-markdown-lexer 20, pyopenssl 21, pytestCheckHook 22, requests 23, slackclient 24, sleekxmpp 25, telegram 26, webtest 27}: 28 29buildPythonApplication rec { 30 pname = "errbot"; 31 version = "6.1.7"; 32 33 src = fetchFromGitHub { 34 owner = "errbotio"; 35 repo = "errbot"; 36 rev = version; 37 sha256 = "02h44qd3d91zy657hyqsw3gskgxg31848pw6zpb8dhd1x84z5y77"; 38 }; 39 40 LC_ALL = "en_US.utf8"; 41 42 buildInputs = [ glibcLocales ]; 43 44 propagatedBuildInputs = [ 45 ansi 46 colorlog 47 daemonize 48 deepmerge 49 dulwich 50 flask 51 hypchat 52 irc 53 jinja2 54 markdown 55 pyasn1 56 pyasn1-modules 57 pygments 58 pygments-markdown-lexer 59 pyopenssl 60 requests 61 slackclient 62 sleekxmpp 63 telegram 64 webtest 65 ]; 66 67 checkInputs = [ 68 mock 69 pytestCheckHook 70 ]; 71 72 # Slack backend test has an import issue 73 pytestFlagsArray = [ "--ignore=tests/backend_tests/slack_test.py" ]; 74 75 disabledTests = [ 76 "backup" 77 "broken_plugin" 78 "plugin_cycle" 79 ]; 80 81 pythonImportsCheck = [ "errbot" ]; 82 83 meta = with lib; { 84 description = "Chatbot designed to be simple to extend with plugins written in Python"; 85 homepage = "http://errbot.io/"; 86 maintainers = with maintainers; [ fpletz globin ]; 87 license = licenses.gpl3Plus; 88 platforms = platforms.linux; 89 # flaky on darwin, "RuntimeError: can't start new thread" 90 }; 91}