depot/third_party/nixpkgs/pkgs/applications/networking/opsdroid/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

81 lines
1.6 KiB
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonPackage rec {
pname = "opsdroid";
version = "0.30.0";
pyproject = true;
src = fetchFromGitHub {
owner = "opsdroid";
repo = "opsdroid";
rev = "refs/tags/v${version}";
hash = "sha256-7H44wdhJD4Z6OP1sUmSGlepuvx+LlwKLq7iR8cwqR24=";
};
build-system = with python3Packages; [ setuptools ];
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;
passthru.python = python3Packages.python;
# Tests are not included in releases
doCheck = false;
meta = with lib; {
description = "Open source chat-ops bot framework";
homepage = "https://opsdroid.dev";
changelog = "https://github.com/opsdroid/opsdroid/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [
globin
willibutz
];
platforms = platforms.unix;
mainProgram = "opsdroid";
};
}