2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchzip, gobject-introspection, idna, libsoup, precis-i18n, pygobject3, pyopenssl }:
|
2017-11-06 10:26:21 +00:00
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
let
|
2017-11-06 10:26:21 +00:00
|
|
|
pname = "nbxmpp";
|
2020-08-19 05:49:04 +00:00
|
|
|
version = "1.0.2";
|
2018-03-21 01:08:42 +00:00
|
|
|
name = "${pname}-${version}";
|
2019-08-13 21:52:01 +00:00
|
|
|
in buildPythonPackage {
|
2018-06-23 13:27:58 +00:00
|
|
|
inherit pname version;
|
2018-03-21 01:08:42 +00:00
|
|
|
# Tests aren't included in PyPI tarball.
|
|
|
|
src = fetchzip {
|
|
|
|
name = "${name}.tar.bz2";
|
|
|
|
url = "https://dev.gajim.org/gajim/python-nbxmpp/repository/archive.tar.bz2?"
|
|
|
|
+ "ref=${name}";
|
2020-08-19 05:49:04 +00:00
|
|
|
sha256 = "1rhzsakqrybzq5j5b9400wjd14pncph47c1ggn5a6f3di03lk4az";
|
2017-11-06 10:26:21 +00:00
|
|
|
};
|
|
|
|
|
2020-08-19 05:49:04 +00:00
|
|
|
buildInputs = [ precis-i18n ];
|
|
|
|
checkInputs = [ gobject-introspection libsoup pygobject3 ];
|
|
|
|
propagatedBuildInputs = [ idna pyopenssl ];
|
2018-03-21 01:08:42 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-11-06 10:26:21 +00:00
|
|
|
homepage = "https://dev.gajim.org/gajim/python-nbxmpp";
|
|
|
|
description = "Non-blocking Jabber/XMPP module";
|
|
|
|
license = licenses.gpl3;
|
2018-03-21 01:08:42 +00:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2017-11-06 10:26:21 +00:00
|
|
|
};
|
|
|
|
}
|