diff options
| -rw-r--r-- | gnu/packages/messaging.scm | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index d5e9050bdb6..ef3756ffc73 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm | |||
| @@ -141,6 +141,7 @@ | |||
| 141 | #:use-module (gnu packages python) | 141 | #:use-module (gnu packages python) |
| 142 | #:use-module (gnu packages python-build) | 142 | #:use-module (gnu packages python-build) |
| 143 | #:use-module (gnu packages python-check) | 143 | #:use-module (gnu packages python-check) |
| 144 | #:use-module (gnu packages python-compression) | ||
| 144 | #:use-module (gnu packages python-crypto) | 145 | #:use-module (gnu packages python-crypto) |
| 145 | #:use-module (gnu packages python-web) | 146 | #:use-module (gnu packages python-web) |
| 146 | #:use-module (gnu packages python-xyz) | 147 | #:use-module (gnu packages python-xyz) |
| @@ -1151,6 +1152,58 @@ Multiple clients from different locations can connect to a single ZNC account | |||
| 1151 | simultaneously and therefore appear under the same nickname on IRC.") | 1152 | simultaneously and therefore appear under the same nickname on IRC.") |
| 1152 | (license license:asl2.0))) | 1153 | (license license:asl2.0))) |
| 1153 | 1154 | ||
| 1155 | (define-public python-irc | ||
| 1156 | (package | ||
| 1157 | (name "python-irc") | ||
| 1158 | (version "20.5.0") | ||
| 1159 | (source | ||
| 1160 | (origin | ||
| 1161 | (method git-fetch) | ||
| 1162 | (uri (git-reference | ||
| 1163 | (url "https://github.com/jaraco/irc") | ||
| 1164 | (commit (string-append "v" version)))) | ||
| 1165 | (file-name (git-file-name name version)) | ||
| 1166 | (sha256 | ||
| 1167 | (base32 "1x7n52sz5dq94mbg20qy1lf2ar3zbka6d3m55w3p1bj2j7fbhakq")))) | ||
| 1168 | (build-system pyproject-build-system) | ||
| 1169 | (arguments | ||
| 1170 | (list | ||
| 1171 | ;; Test tries to install project with Pip. | ||
| 1172 | #:test-flags #~(list "-k" "not project") | ||
| 1173 | #:phases | ||
| 1174 | #~(modify-phases %standard-phases | ||
| 1175 | (add-after 'unpack 'include-package-data | ||
| 1176 | (lambda _ | ||
| 1177 | (substitute* "pyproject.toml" | ||
| 1178 | ((".*tool.setuptools_scm.*" all) | ||
| 1179 | (string-append all | ||
| 1180 | "\n[tool.setuptools.package-data] | ||
| 1181 | irc = ['*.txt']")))))))) | ||
| 1182 | (native-inputs | ||
| 1183 | (list python-pygments | ||
| 1184 | python-pytest | ||
| 1185 | python-pytest-checkdocs | ||
| 1186 | python-pytest-enabler | ||
| 1187 | python-setuptools | ||
| 1188 | python-setuptools-scm)) | ||
| 1189 | (propagated-inputs | ||
| 1190 | (list python-importlib-resources | ||
| 1191 | python-jaraco-collections | ||
| 1192 | python-jaraco-functools | ||
| 1193 | python-jaraco-logging | ||
| 1194 | python-jaraco-stream | ||
| 1195 | python-jaraco-text | ||
| 1196 | python-more-itertools | ||
| 1197 | python-pytz | ||
| 1198 | python-tempora)) | ||
| 1199 | (home-page "https://github.com/jaraco/irc") | ||
| 1200 | (synopsis "@dfn{Internet Relay Chat} (IRC) protocol library for Python") | ||
| 1201 | (description | ||
| 1202 | "This library provides a low-level implementation of the IRC protocol for | ||
| 1203 | Python. It provides an event-driven IRC client framework with support for the | ||
| 1204 | basic IRC protocol, CTCP, and DCC connections.") | ||
| 1205 | (license license:expat))) | ||
| 1206 | |||
| 1154 | (define-public python-nbxmpp | 1207 | (define-public python-nbxmpp |
| 1155 | (package | 1208 | (package |
| 1156 | (name "python-nbxmpp") | 1209 | (name "python-nbxmpp") |
