nixpkgs/pkgs/applications/networking/opsdroid/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

2021-05-09 16:51:46 +01:00
{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "opsdroid";
2021-10-12 01:22:25 +01:00
version = "0.24.1";
2021-05-09 16:51:46 +01:00
src = fetchFromGitHub {
owner = "opsdroid";
repo = "opsdroid";
rev = "v${version}";
2021-10-12 01:22:25 +01:00
sha256 = "15l2jvcpb9l8sgdd9zsvxqglf1r3vap0pp9cklpfa9jj0aik6nx9";
2021-05-09 16:51:46 +01:00
};
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;
};
}