2024-07-01 15:47:52 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
python3Packages,
|
|
|
|
}:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "opsdroid";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "0.30.0";
|
|
|
|
pyproject = true;
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "opsdroid";
|
|
|
|
repo = "opsdroid";
|
2024-07-01 15:47:52 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-7H44wdhJD4Z6OP1sUmSGlepuvx+LlwKLq7iR8cwqR24=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2024-07-01 15:47:52 +00:00
|
|
|
build-system = with python3Packages; [ setuptools ];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2024-07-01 15:47:52 +00:00
|
|
|
dependencies =
|
|
|
|
with python3Packages;
|
|
|
|
[
|
|
|
|
aiohttp
|
|
|
|
aiohttp-middlewares
|
|
|
|
aioredis
|
|
|
|
aiosqlite
|
|
|
|
appdirs
|
|
|
|
arrow
|
|
|
|
babel
|
|
|
|
bitstring
|
|
|
|
bleach
|
|
|
|
# botbuilder-core, connector for teams
|
|
|
|
certifi
|
|
|
|
click
|
|
|
|
# dialogflow, connector for Dialogflow
|
|
|
|
dnspython
|
|
|
|
emoji
|
|
|
|
get-video-properties
|
|
|
|
ibm-watson
|
|
|
|
matrix-nio
|
|
|
|
mattermostdriver
|
|
|
|
motor
|
|
|
|
multidict
|
|
|
|
nbconvert
|
|
|
|
nbformat
|
|
|
|
opsdroid-get-image-size
|
|
|
|
parse
|
|
|
|
puremagic
|
|
|
|
pycron
|
|
|
|
python-olm
|
|
|
|
pyyaml
|
|
|
|
regex
|
|
|
|
rich
|
|
|
|
slack-sdk
|
|
|
|
tailer
|
|
|
|
voluptuous
|
|
|
|
watchgod
|
|
|
|
webexteamssdk
|
|
|
|
wrapt
|
|
|
|
]
|
|
|
|
++ matrix-nio.optional-dependencies.e2e;
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
passthru.python = python3Packages.python;
|
|
|
|
|
2024-07-01 15:47:52 +00:00
|
|
|
# Tests are not included in releases
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Open source chat-ops bot framework";
|
2021-05-28 09:39:13 +00:00
|
|
|
homepage = "https://opsdroid.dev";
|
2024-07-01 15:47:52 +00:00
|
|
|
changelog = "https://github.com/opsdroid/opsdroid/releases/tag/v${version}";
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.asl20;
|
2024-07-01 15:47:52 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
globin
|
|
|
|
willibutz
|
|
|
|
];
|
2021-05-28 09:39:13 +00:00
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "opsdroid";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
}
|