From b6651a39d7d14d769142a7a2478d7584748d7b9c Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Tue, 22 Sep 2020 18:31:39 -0400 Subject: [PATCH 2/6] gnu: Add python-nbxmpp-next. * gnu/packages/gajim.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/packages/gajim.scm (python-nbxmpp-next): New variable. --- gnu/local.mk | 1 + gnu/packages/gajim.scm | 61 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 gnu/packages/gajim.scm diff --git a/gnu/local.mk b/gnu/local.mk index f249fa3d55..79e035177e 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -217,6 +217,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/ftp.scm \ %D%/packages/fribidi.scm \ %D%/packages/fvwm.scm \ + %D%/packages/gajim.scm \ %D%/packages/game-development.scm \ %D%/packages/games.scm \ %D%/packages/gawk.scm \ diff --git a/gnu/packages/gajim.scm b/gnu/packages/gajim.scm new file mode 100644 index 0000000000..dfccbaf19d --- /dev/null +++ b/gnu/packages/gajim.scm @@ -0,0 +1,61 @@ +;;; GNU Guix --- Functional package management for GNU +;;; +;;; Copyright © 2020 Raghav Gururajan +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages gajim) + #:use-module (gnu packages) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) + #:use-module (guix build-system python) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils)) + +(define-public python-nbxmpp-next + (package + (name "python-nbxmpp-next") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "nbxmpp" version)) + (sha256 + (base32 "0vw5drr077w9ks4crnw6pwa4735ycyjdcm54knc3w4in4x5027wr")))) + (build-system python-build-system) + (native-inputs + `(("glib:bin" ,glib "bin") + ("python-setuptools" ,python-setuptools))) + (inputs + `(("glib" ,glib) + ("glib-networking" ,glib-networking) + ("libsoup" ,libsoup) + ("python-idna" ,python-idna) + ("python-precis-i18n" ,python-precis-i18n) + ("python-pygobject" ,python-pygobject))) + (synopsis "Non-blocking XMPP Module") + (description "Python-nbxmpp is a Python library that provides a way for +Python applications to use the XMPP network. This library was initially a fork +of xmpppy.") + (home-page "https://dev.gajim.org/gajim/python-nbxmpp") + (license license:gpl3+))) + +;;; End of gajim.scm \ No newline at end of file -- 2.28.0