guix_mirror_bot pushed a commit to branch kernel-updates in repository guix.
commit fc2ebba94a1489dc360f208dc22924ce319e5efb Author: Sergio Pastor Pérez <[email protected]> AuthorDate: Fri May 22 14:17:14 2026 +0200 gnu: Add python-irc. * gnu/packages/messaging.scm (python-irc): New variable. Merges: guix/guix!9483 Reviewed-by: Nicolas Graves <[email protected]> Modified-by: Sharlatan Hellseher <[email protected]> Signed-off-by: Sharlatan Hellseher <[email protected]> --- gnu/packages/messaging.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index d5e9050bdb..ef3756ffc7 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -141,6 +141,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) + #:use-module (gnu packages python-compression) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) @@ -1151,6 +1152,58 @@ Multiple clients from different locations can connect to a single ZNC account simultaneously and therefore appear under the same nickname on IRC.") (license license:asl2.0))) +(define-public python-irc + (package + (name "python-irc") + (version "20.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jaraco/irc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1x7n52sz5dq94mbg20qy1lf2ar3zbka6d3m55w3p1bj2j7fbhakq")))) + (build-system pyproject-build-system) + (arguments + (list + ;; Test tries to install project with Pip. + #:test-flags #~(list "-k" "not project") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'include-package-data + (lambda _ + (substitute* "pyproject.toml" + ((".*tool.setuptools_scm.*" all) + (string-append all + "\n[tool.setuptools.package-data] +irc = ['*.txt']")))))))) + (native-inputs + (list python-pygments + python-pytest + python-pytest-checkdocs + python-pytest-enabler + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-importlib-resources + python-jaraco-collections + python-jaraco-functools + python-jaraco-logging + python-jaraco-stream + python-jaraco-text + python-more-itertools + python-pytz + python-tempora)) + (home-page "https://github.com/jaraco/irc") + (synopsis "@dfn{Internet Relay Chat} (IRC) protocol library for Python") + (description + "This library provides a low-level implementation of the IRC protocol for +Python. It provides an event-driven IRC client framework with support for the +basic IRC protocol, CTCP, and DCC connections.") + (license license:expat))) + (define-public python-nbxmpp (package (name "python-nbxmpp")
