diff options
author | Parnikkapore <poomklao@yahoo.com> | 2023-07-04 23:31:08 +0700 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-09-27 12:07:14 +0100 |
commit | 9d7daaf10f9464869921a7d39c94c44c334d0cb4 (patch) | |
tree | 00bf53ff82aaad9668b5b38dd1ff299a70cbec6d | |
parent | 2c9009f9feec33531c261818b2091b814727cd94 (diff) | |
download | guix-9d7daaf10f9464869921a7d39c94c44c334d0cb4.tar.gz |
gnu: python-nbxmpp: Update to 4.2.2.
Gajim will not build at this commit. * gnu/packages/messaging.scm (python-nbxmpp): Update to 4.2.2. [arguments]: Specify "python -m unittest" as test method. Signed-off-by: Christopher Baines <mail@cbaines.net>
-rw-r--r-- | gnu/packages/messaging.scm | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 14c4fc2b15..4ef9c64646 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -148,6 +148,7 @@ #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module (guix build-system qt) #:use-module (guix build-system trivial) #:use-module (guix download) @@ -1089,21 +1090,29 @@ simultaneously and therefore appear under the same nickname on IRC.") (define-public python-nbxmpp (package (name "python-nbxmpp") - (version "3.1.0") + (version "4.2.2") (source (origin (method url-fetch) (uri (pypi-uri "nbxmpp" version)) (sha256 - (base32 "0c32090gr1fiy7hkn73dcj4ad9gfdpks8hivl1dl8bql01jsfdnj")))) - (build-system python-build-system) + (base32 "095nyy6vjildhrqigxk6vsh49in6mx17bvb3z5zpjmzhv9b8ix46")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; XXX: This probably should be an option for pyproject-build-system + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? (invoke "python" "-m" "unittest" "-v"))))))) (native-inputs (list `(,glib "bin"))) (inputs (list glib glib-networking - libsoup-minimal-2 + libsoup-minimal python-gssapi python-idna python-precis-i18n |