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.") "This package provides Python bindings to Zulip's API.") (license license:asl2.0))) +(define-public python-zulip-bots + (package + (inherit python-zulip) + (name "python-zulip-bots") + (arguments + (list + #:test-backend #~'unittest + #:test-flags #~(list "discover" "--verbose") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'select-zulip-bots + (lambda _ + (chdir "zulip_bots"))) + (add-after 'select-zulip-bots 'ignore-failing-tests + (lambda _ + ;; Additional packaging is required. + (delete-file "zulip_bots/bots/salesforce/test_salesforce.py") + (delete-file "zulip_bots/bots/witai/test_witai.py") + (delete-file "zulip_bots/bots/dialogflow/test_dialogflow.py") + (delete-file "zulip_bots/bots/chessbot/test_chessbot.py")))))) + (propagated-inputs + (list python-beautifulsoup4 + python-html2text + python-importlib-metadata + python-lxml + python-dropbox + python-pip ;check if it will pull packages during runtime + python-typing-extensions + python-tweepy + python-zulip + ;; [optional] + ;; python-apiai ;not packaged yet in Guix + ;; python-chess + #;python-wit)) ;witai + (synopsis "Zulip's Bot framework") + (description "This package provides Zulip's Bot framework."))) + (define-public zulip-term (package (name "zulip-term") |
