depot/third_party/nixpkgs/pkgs/applications/networking/opsdroid/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

37 lines
1.1 KiB
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "opsdroid";
version = "0.25.0";
src = fetchFromGitHub {
owner = "opsdroid";
repo = "opsdroid";
rev = "v${version}";
sha256 = "0f32jf2rds9543akysxinf3hsgzr0w880xwcrcm1r2r0nhp8b8s5";
};
disabled = !python3Packages.isPy3k;
# tests folder is not included in release
doCheck = false;
propagatedBuildInputs = with python3Packages; [
click babel opsdroid-get-image-size slackclient webexteamssdk bleach
parse emoji puremagic yamale nbformat websockets pycron nbconvert
aiohttp matrix-api-async aioredis aiosqlite arrow pyyaml motor regex
mattermostdriver setuptools voluptuous ibm-watson tailer multidict
watchgod get-video-properties appdirs bitstring matrix-nio
] ++ matrix-nio.optional-dependencies.e2e;
passthru.python = python3Packages.python;
meta = with lib; {
description = "Open source chat-ops bot framework";
homepage = "https://opsdroid.dev";
maintainers = with maintainers; [ globin willibutz ];
license = licenses.asl20;
platforms = platforms.unix;
mainProgram = "opsdroid";
};
}