2021-05-04 10:01:22 -07:00
|
|
|
{ lib, buildPythonPackage, pythonOlder, fetchFromGitLab
|
|
|
|
, gobject-introspection, idna, libsoup, precis-i18n, pygobject3, pyopenssl
|
|
|
|
}:
|
2017-11-06 02:26:21 -08:00
|
|
|
|
2021-05-04 10:01:22 -07:00
|
|
|
buildPythonPackage rec {
|
2017-11-06 02:26:21 -08:00
|
|
|
pname = "nbxmpp";
|
2021-05-04 10:01:22 -07:00
|
|
|
version = "2.0.2";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2018-03-20 18:08:42 -07:00
|
|
|
# Tests aren't included in PyPI tarball.
|
2021-05-04 10:01:22 -07:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "dev.gajim.org";
|
|
|
|
owner = "gajim";
|
|
|
|
repo = "python-nbxmpp";
|
|
|
|
rev = "nbxmpp-${version}";
|
|
|
|
sha256 = "0z27mxgfk7hvpx0xdrd8g9441rywv74yk7s83zjnc2mc7xvpwhf4";
|
2017-11-06 02:26:21 -08:00
|
|
|
};
|
|
|
|
|
2020-08-18 22:49:04 -07:00
|
|
|
buildInputs = [ precis-i18n ];
|
2021-02-10 11:12:19 -08:00
|
|
|
propagatedBuildInputs = [ gobject-introspection idna libsoup pygobject3 pyopenssl ];
|
2018-03-20 18:08:42 -07:00
|
|
|
|
2021-05-04 10:01:22 -07:00
|
|
|
pythonImportsCheck = [ "nbxmpp" ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2017-11-06 02:26:21 -08:00
|
|
|
homepage = "https://dev.gajim.org/gajim/python-nbxmpp";
|
|
|
|
description = "Non-blocking Jabber/XMPP module";
|
2021-05-04 10:01:22 -07:00
|
|
|
license = licenses.gpl3Plus;
|
2018-03-20 18:08:42 -07:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2017-11-06 02:26:21 -08:00
|
|
|
};
|
|
|
|
}
|