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