2020-09-25 04:45:31 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchzip, gobject-introspection, idna, libsoup, precis-i18n, pygobject3, pyopenssl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "nbxmpp";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
in buildPythonPackage {
|
|
|
|
inherit pname version;
|
|
|
|
# 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-09-25 04:45:31 +00:00
|
|
|
sha256 = "1rhzsakqrybzq5j5b9400wjd14pncph47c1ggn5a6f3di03lk4az";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
buildInputs = [ precis-i18n ];
|
|
|
|
checkInputs = [ gobject-introspection libsoup pygobject3 ];
|
|
|
|
propagatedBuildInputs = [ idna pyopenssl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://dev.gajim.org/gajim/python-nbxmpp";
|
|
|
|
description = "Non-blocking Jabber/XMPP module";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|