Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 77 lines 1.5 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5}: 6 7python3Packages.buildPythonPackage rec { 8 pname = "opsdroid"; 9 version = "0.30.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "opsdroid"; 14 repo = "opsdroid"; 15 tag = "v${version}"; 16 hash = "sha256-7H44wdhJD4Z6OP1sUmSGlepuvx+LlwKLq7iR8cwqR24="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 aiohttp 23 aiohttp-middlewares 24 aioredis 25 aiosqlite 26 appdirs 27 arrow 28 babel 29 bitstring 30 bleach 31 # botbuilder-core, connector for teams 32 certifi 33 click 34 # dialogflow, connector for Dialogflow 35 dnspython 36 emoji 37 get-video-properties 38 ibm-watson 39 (matrix-nio.override { withOlm = true; }) 40 mattermostdriver 41 motor 42 multidict 43 nbconvert 44 nbformat 45 opsdroid-get-image-size 46 parse 47 puremagic 48 pycron 49 python-olm 50 pyyaml 51 regex 52 rich 53 slack-sdk 54 tailer 55 voluptuous 56 watchgod 57 webexteamssdk 58 wrapt 59 ]; 60 61 passthru.python = python3Packages.python; 62 63 # Tests are not included in releases 64 doCheck = false; 65 66 meta = { 67 description = "Open source chat-ops bot framework"; 68 homepage = "https://opsdroid.dev"; 69 changelog = "https://github.com/opsdroid/opsdroid/releases/tag/v${version}"; 70 license = lib.licenses.asl20; 71 maintainers = with lib.maintainers; [ 72 globin 73 ]; 74 platforms = lib.platforms.unix; 75 mainProgram = "opsdroid"; 76 }; 77}