diff options
| author | Isidor Zeuner <guix@quidecco.pl> | 2026-01-07 23:35:19 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-07-01 20:08:21 +0100 |
| commit | e1f5946742c73941f43dd2a37ff023dd3eadc6ad (patch) | |
| tree | bbd04cc72051fa71a54b6d9861cf346a5646f443 /gnu | |
| parent | e2a3feb26eba16aaaf0d084ac0ea428d170524fb (diff) | |
gnu: Add matrix-commander.
* gnu/packages/matrix.scm (matrix-commander) New variable.
Merges: guix/guix!5460
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/matrix.scm | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index d66821706c6..cec7d41777f 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> | 12 | ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> |
| 13 | ;;; Copyright © 2026 Zheng Junjie <z572@z572.online> | 13 | ;;; Copyright © 2026 Zheng Junjie <z572@z572.online> |
| 14 | ;;; Copyright © 2026 orahcio <orahcio@gmail.com> | 14 | ;;; Copyright © 2026 orahcio <orahcio@gmail.com> |
| 15 | ;;; Copyright © 2025 Isidor Zeuner <guix@quidecco.pl> | ||
| 15 | ;;; | 16 | ;;; |
| 16 | ;;; This file is part of GNU Guix. | 17 | ;;; This file is part of GNU Guix. |
| 17 | ;;; | 18 | ;;; |
| @@ -34,6 +35,7 @@ | |||
| 34 | #:use-module (gnu packages check) | 35 | #:use-module (gnu packages check) |
| 35 | #:use-module (gnu packages crypto) | 36 | #:use-module (gnu packages crypto) |
| 36 | #:use-module (gnu packages databases) | 37 | #:use-module (gnu packages databases) |
| 38 | #:use-module (gnu packages freedesktop) | ||
| 37 | #:use-module (gnu packages glib) | 39 | #:use-module (gnu packages glib) |
| 38 | #:use-module (gnu packages golang) | 40 | #:use-module (gnu packages golang) |
| 39 | #:use-module (gnu packages golang-build) | 41 | #:use-module (gnu packages golang-build) |
| @@ -57,6 +59,59 @@ | |||
| 57 | #:use-module (guix git-download) | 59 | #:use-module (guix git-download) |
| 58 | #:use-module (guix packages)) | 60 | #:use-module (guix packages)) |
| 59 | 61 | ||
| 62 | (define-public matrix-commander | ||
| 63 | (package | ||
| 64 | (name "matrix-commander") | ||
| 65 | (version "8.0.5") | ||
| 66 | (source | ||
| 67 | (origin | ||
| 68 | (method git-fetch) | ||
| 69 | (uri (git-reference | ||
| 70 | (url "https://github.com/8go/matrix-commander") | ||
| 71 | (commit (string-append "v" version)))) | ||
| 72 | (file-name (git-file-name name version)) | ||
| 73 | (sha256 | ||
| 74 | (base32 "0150l6qzy55qlm7639p82vdhsapq6x48ixhgr2yrm2yg9a62gn3q")))) | ||
| 75 | (build-system pyproject-build-system) | ||
| 76 | (arguments | ||
| 77 | (list | ||
| 78 | #:phases | ||
| 79 | #~(modify-phases %standard-phases | ||
| 80 | (add-after 'unpack 'relax-requirements | ||
| 81 | ;; XXX: Provided by Python standard library, report upstream. | ||
| 82 | (lambda _ | ||
| 83 | (substitute* "setup.cfg" | ||
| 84 | (("argparse") "") | ||
| 85 | (("async-timeout") "") | ||
| 86 | (("asyncio") "") | ||
| 87 | (("datetime") "") | ||
| 88 | (("uuid") "")))) | ||
| 89 | (replace 'check | ||
| 90 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 91 | (when tests? | ||
| 92 | ;; The other tests expect a Matrix server to connect | ||
| 93 | ;; to, see <.github/workflows/run-tests.yml>. | ||
| 94 | (invoke "./tests/test-version.sh"))))))) | ||
| 95 | (native-inputs | ||
| 96 | (list python-pytest | ||
| 97 | python-setuptools)) | ||
| 98 | (inputs | ||
| 99 | (list python-aiofiles | ||
| 100 | python-aiohttp | ||
| 101 | python-emoji | ||
| 102 | python-magic | ||
| 103 | python-markdown | ||
| 104 | python-matrix-nio | ||
| 105 | python-notify2 | ||
| 106 | python-pillow | ||
| 107 | python-pyxdg)) | ||
| 108 | (home-page "https://github.com/8go/matrix-commander") | ||
| 109 | (synopsis "Simple command-line Matrix client") | ||
| 110 | (description | ||
| 111 | "This package provides a simple but convenient @acronym{Command Line | ||
| 112 | Interface, CLI}-based Matrix client app for sending and receiving.") | ||
| 113 | (license license:gpl3))) | ||
| 114 | |||
| 60 | (define-public mautrix-whatsapp | 115 | (define-public mautrix-whatsapp |
| 61 | (package | 116 | (package |
| 62 | (name "mautrix-whatsapp") | 117 | (name "mautrix-whatsapp") |
