Robert Schütz 2023-07-14 18:42:34 -07:00
parent 110489e12a
commit 7e2c738a2e

View file

@ -1,25 +1,26 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, glibcLocales , python3
, python39
}: }:
let python3.pkgs.buildPythonApplication rec {
python3 = python39;
in python3.pkgs.buildPythonApplication rec {
pname = "errbot"; pname = "errbot";
version = "6.1.7"; version = "6.1.9";
format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "errbotio"; owner = "errbotio";
repo = "errbot"; repo = "errbot";
rev = version; rev = version;
sha256 = "02h44qd3d91zy657hyqsw3gskgxg31848pw6zpb8dhd1x84z5y77"; hash = "sha256-BmHChLWWnrtg0p4WH8bANwpo+p4RTwjYbXfyPnz6mp8=";
}; };
LC_ALL = "en_US.utf8"; nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];
buildInputs = [ glibcLocales ]; pythonRelaxDeps = true;
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
ansi ansi
@ -28,7 +29,6 @@ in python3.pkgs.buildPythonApplication rec {
deepmerge deepmerge
dulwich dulwich
flask flask
hypchat
irc irc
jinja2 jinja2
markdown markdown
@ -38,9 +38,8 @@ in python3.pkgs.buildPythonApplication rec {
pygments-markdown-lexer pygments-markdown-lexer
pyopenssl pyopenssl
requests requests
slackclient slixmpp
sleekxmpp python-telegram-bot
telegram
webtest webtest
]; ];
@ -49,18 +48,20 @@ in python3.pkgs.buildPythonApplication rec {
pytestCheckHook pytestCheckHook
]; ];
# Slack backend test has an import issue # errbot-backend-slackv3 has not been packaged
pytestFlagsArray = [ "--ignore=tests/backend_tests/slack_test.py" ]; pytestFlagsArray = [ "--ignore=tests/backend_tests/slack_test.py" ];
disabledTests = [ disabledTests = [
"backup" # require networking
"broken_plugin" "test_backup"
"plugin_cycle" "test_broken_plugin"
"test_plugin_cycle"
]; ];
pythonImportsCheck = [ "errbot" ]; pythonImportsCheck = [ "errbot" ];
meta = with lib; { 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"; description = "Chatbot designed to be simple to extend with plugins written in Python";
homepage = "http://errbot.io/"; homepage = "http://errbot.io/";
maintainers = with maintainers; [ globin ]; maintainers = with maintainers; [ globin ];