python.nbxmpp: 0.6.10 → 1.0.2; gajim: 1.1.3 → 1.2.2
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{ stdenv, buildPythonPackage, fetchzip, pyopenssl, python }:
|
||||
{ stdenv, buildPythonPackage, fetchzip, gobject-introspection, idna, libsoup, precis-i18n, pygobject3, pyopenssl }:
|
||||
|
||||
let
|
||||
pname = "nbxmpp";
|
||||
version = "0.6.10";
|
||||
version = "1.0.2";
|
||||
name = "${pname}-${version}";
|
||||
in buildPythonPackage {
|
||||
inherit pname version;
|
||||
@@ -11,16 +11,12 @@ in buildPythonPackage {
|
||||
name = "${name}.tar.bz2";
|
||||
url = "https://dev.gajim.org/gajim/python-nbxmpp/repository/archive.tar.bz2?"
|
||||
+ "ref=${name}";
|
||||
sha256 = "1w31a747mj9rvlp3n20z0fnvyvihphkgkyr22sk2kap3migw8vai";
|
||||
sha256 = "1rhzsakqrybzq5j5b9400wjd14pncph47c1ggn5a6f3di03lk4az";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyopenssl ];
|
||||
|
||||
checkPhase = ''
|
||||
# Disable tests requiring networking
|
||||
echo "" > test/unit/test_xmpp_transports_nb2.py
|
||||
${python.executable} test/runtests.py
|
||||
'';
|
||||
buildInputs = [ precis-i18n ];
|
||||
checkInputs = [ gobject-introspection libsoup pygobject3 ];
|
||||
propagatedBuildInputs = [ idna pyopenssl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://dev.gajim.org/gajim/python-nbxmpp";
|
||||
|
||||
Reference in New Issue
Block a user