depot/third_party/nixpkgs/pkgs/applications/networking/opsdroid/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

36 lines
1.1 KiB
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "opsdroid";
version = "0.22.0";
src = fetchFromGitHub {
owner = "opsdroid";
repo = "opsdroid";
rev = "v${version}";
sha256 = "003gpzdjfz2jrwx2bkkd1k2mr7yjpaw5s7fy5l0hw72f9zimznd0";
};
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
];
passthru.python = python3Packages.python;
meta = with lib; {
description = "An open source chat-ops bot framework";
homepage = "https://opsdroid.dev";
maintainers = with maintainers; [ fpletz globin willibutz lheckemann ];
license = licenses.asl20;
platforms = platforms.unix;
};
}