nixpkgs/pkgs/development/python-modules/nbxmpp/default.nix
aszlig 9df21abeb3 pythonPackages.nbxmpp: 0.6.8 -> 0.6.9
Just a small bugfix release, but required for Gajim 1.1.2.

Upstream fixes:

  * Always bind after SM failed
  * Dont try and guess system language

Signed-off-by: aszlig <aszlig@nix.build>
Closes: https://github.com/NixOS/nixpkgs/pull/54081
2019-01-31 11:09:48 +01:00

32 lines
895 B
Nix

{ stdenv, buildPythonPackage, fetchzip, pyopenssl, python }:
let
pname = "nbxmpp";
version = "0.6.9";
name = "${pname}-${version}";
in buildPythonPackage rec {
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}";
sha256 = "14xrq0r5k1dk7rwj4cxyxfapi6gbnqg70mz94g6hn9ij06284mi7";
};
propagatedBuildInputs = [ pyopenssl ];
checkPhase = ''
# Disable tests requiring networking
echo "" > test/unit/test_xmpp_transports_nb2.py
${python.executable} test/runtests.py
'';
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 ];
};
}