Files
2026-06-12 06:17:00 +00:00

74 lines
1.4 KiB
Nix

{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "errbot";
version = "6.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "errbotio";
repo = "errbot";
rev = finalAttrs.version;
hash = "sha256-ufJUcQUn+BbfnYRXqLlThis70sY5VLdsZlag6390wqs=";
};
build-system = with python3.pkgs; [
setuptools
];
pythonRelaxDeps = true;
dependencies = with python3.pkgs; [
ansi
colorlog
daemonize
deepmerge
dulwich
flask
irc
jinja2
markdown
pyasn1
pyasn1-modules
pygments
pygments-markdown-lexer
pyopenssl
requests
setuptools
slixmpp
python-telegram-bot
webtest
];
nativeCheckInputs = with python3.pkgs; [
mock
pytestCheckHook
];
disabledTests = [
# require networking
"test_backup"
"test_broken_plugin"
"test_plugin_cycle"
"test_entrypoint_paths"
];
pythonImportsCheck = [ "errbot" ];
meta = {
changelog = "https://github.com/errbotio/errbot/blob/${finalAttrs.version}/CHANGES.rst";
description = "Chatbot designed to be simple to extend with plugins written in Python";
homepage = "http://errbot.io/";
maintainers = with lib.maintainers; [ hlad ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
# flaky on darwin, "RuntimeError: can't start new thread"
mainProgram = "errbot";
};
})