diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-08 21:33:02 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-10 10:50:07 +0000 |
| commit | 5621e78fbeaf46ac30df20fd86ee156f3fe8068c (patch) | |
| tree | 5fd93cb8ecf5350d637b8dda89ba73dc0c6cf834 | |
| parent | 94a765129732af54791c531f38b4b78b2d2ba087 (diff) | |
gnu: Add python-zulip-bots.
* gnu/packages/messaging.scm (python-zulip-bots): New variable.
Change-Id: I6a46e0523494c7de2a6f6cba7f31037fe5316be1
| -rw-r--r-- | gnu/packages/messaging.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index c70ee5684bd..8bbdbe73133 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm | |||
| @@ -3038,6 +3038,43 @@ designed for experienced users.") | |||
| 3038 | "This package provides Python bindings to Zulip's API.") | 3038 | "This package provides Python bindings to Zulip's API.") |
| 3039 | (license license:asl2.0))) | 3039 | (license license:asl2.0))) |
| 3040 | 3040 | ||
| 3041 | (define-public python-zulip-bots | ||
| 3042 | (package | ||
| 3043 | (inherit python-zulip) | ||
| 3044 | (name "python-zulip-bots") | ||
| 3045 | (arguments | ||
| 3046 | (list | ||
| 3047 | #:test-backend #~'unittest | ||
| 3048 | #:test-flags #~(list "discover" "--verbose") | ||
| 3049 | #:phases | ||
| 3050 | #~(modify-phases %standard-phases | ||
| 3051 | (add-after 'unpack 'select-zulip-bots | ||
| 3052 | (lambda _ | ||
| 3053 | (chdir "zulip_bots"))) | ||
| 3054 | (add-after 'select-zulip-bots 'ignore-failing-tests | ||
| 3055 | (lambda _ | ||
| 3056 | ;; Additional packaging is required. | ||
| 3057 | (delete-file "zulip_bots/bots/salesforce/test_salesforce.py") | ||
| 3058 | (delete-file "zulip_bots/bots/witai/test_witai.py") | ||
| 3059 | (delete-file "zulip_bots/bots/dialogflow/test_dialogflow.py") | ||
| 3060 | (delete-file "zulip_bots/bots/chessbot/test_chessbot.py")))))) | ||
| 3061 | (propagated-inputs | ||
| 3062 | (list python-beautifulsoup4 | ||
| 3063 | python-html2text | ||
| 3064 | python-importlib-metadata | ||
| 3065 | python-lxml | ||
| 3066 | python-dropbox | ||
| 3067 | python-pip ;check if it will pull packages during runtime | ||
| 3068 | python-typing-extensions | ||
| 3069 | python-tweepy | ||
| 3070 | python-zulip | ||
| 3071 | ;; [optional] | ||
| 3072 | ;; python-apiai ;not packaged yet in Guix | ||
| 3073 | ;; python-chess | ||
| 3074 | #;python-wit)) ;witai | ||
| 3075 | (synopsis "Zulip's Bot framework") | ||
| 3076 | (description "This package provides Zulip's Bot framework."))) | ||
| 3077 | |||
| 3041 | (define-public zulip-term | 3078 | (define-public zulip-term |
| 3042 | (package | 3079 | (package |
| 3043 | (name "zulip-term") | 3080 | (name "zulip-term") |
