2021-08-05 21:33:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchFromGitLab
|
|
|
|
, gobject-introspection
|
|
|
|
, idna
|
|
|
|
, libsoup
|
|
|
|
, precis-i18n
|
|
|
|
, pygobject3
|
|
|
|
, pyopenssl
|
|
|
|
, pytestCheckHook
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
buildPythonPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "nbxmpp";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "3.1.0";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "dev.gajim.org";
|
|
|
|
owner = "gajim";
|
|
|
|
repo = "python-nbxmpp";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-QnvV/sAxdl8V5nV1hk8sRrL6nn015dAy6cXAiy2Tmbs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
buildInputs = [
|
|
|
|
precis-i18n
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
idna
|
|
|
|
libsoup
|
|
|
|
pygobject3
|
|
|
|
pyopenssl
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
pythonImportsCheck = [ "nbxmpp" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://dev.gajim.org/gajim/python-nbxmpp";
|
|
|
|
description = "Non-blocking Jabber/XMPP module";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|