From 45a88519bfe015199277d3942206b4a6f1b78b20 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 16 May 2025 21:42:24 +0100 Subject: gnu: python-slixmpp: Move to python-web. * gnu/packages/python-xyz.scm (python-slixmpp): Move from here ... * gnu/packages/python-web.scm: ... to here. Change-Id: I43511d6ebc6762ea84ae56966d62a0a10468e8b3 --- gnu/packages/python-web.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 79b83da8204..56f697bbd2a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015-2025 Efraim Flashner ;;; Copyright © 2017 Christopher Baines ;;; Copyright © 2016, 2017 Danny Milosavljevic -;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge +;;; Copyright © 2013, 2014, 2015, 2016, 2020, 2023 Andreas Enge ;;; Copyright © 2016, 2017, 2019-2023 Marius Bakke ;;; Copyright © 2015-2025 Ricardo Wurmus ;;; Copyright © 2017, 2021 Roel Janssen @@ -41,6 +41,7 @@ ;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego ;;; Copyright © 2020 Konrad Hinsen ;;; Copyright © 2020, 2022, 2024 Giacomo Leidi +;;; Copyright © 2020 Raghav Gururajan ;;; Copyright © 2021 Ekaitz Zarraga ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Maxime Devos @@ -120,6 +121,7 @@ #:use-module (gnu packages groff) #:use-module (gnu packages libevent) #:use-module (gnu packages libffi) + #:use-module (gnu packages libidn) #:use-module (gnu packages linux) #:use-module (gnu packages node) #:use-module (gnu packages openstack) @@ -2763,6 +2765,55 @@ terms of data actions and HTTP/2 frames. This is one building block of a full Python HTTP implementation.") (license license:expat))) +(define-public python-slixmpp + (package + (name "python-slixmpp") + (version "1.8.6") ; XXX: The latest version which does not requrie Rust + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/poezio/slixmpp") + (commit (string-append "slix-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gpy6arwyk4lsx1hbcwbllxs6qbwn58adkp1rm1cfvfrjdv5kxx7")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-setup.py + (lambda _ + (substitute* "setup.py" + (("'CC', 'cc'") + "'CC', 'gcc'"))))))) + (native-inputs + (list gnupg + pkg-config + python-cython + python-setuptools + python-wheel)) + (inputs + (list libidn + python)) ; We are building a Python extension. + (propagated-inputs + (list python-aiodns + python-aiohttp + python-cryptography + python-defusedxml + python-emoji + python-pyasn1 + python-pyasn1-modules)) + (home-page "https://lab.louiz.org/poezio/slixmpp") + (synopsis "XMPP library without threads") + (description + "Slixmpp is a XMPP library for Python 3.7+. It is a fork of SleekXMPP. +Its goal is to only rewrite the core of the library (the low level socket +handling, the timers, the events dispatching) in order to remove all +threads.") + (license license:expat))) + (define-public python-sockjs-tornado (package (name "python-sockjs-tornado") -- cgit v1.3