3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/nbxmpp/default.nix

27 lines
855 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchzip, gobject-introspection, idna, libsoup, precis-i18n, pygobject3, pyopenssl }:
2017-11-06 10:26:21 +00:00
let
2017-11-06 10:26:21 +00:00
pname = "nbxmpp";
version = "1.0.2";
2018-03-21 01:08:42 +00:00
name = "${pname}-${version}";
2019-08-13 22:52:01 +01:00
in buildPythonPackage {
inherit pname version;
2018-03-21 01:08:42 +00:00
# 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 = "1rhzsakqrybzq5j5b9400wjd14pncph47c1ggn5a6f3di03lk4az";
2017-11-06 10:26:21 +00:00
};
buildInputs = [ precis-i18n ];
propagatedBuildInputs = [ gobject-introspection idna libsoup pygobject3 pyopenssl ];
2018-03-21 01:08:42 +00:00
meta = with lib; {
2017-11-06 10:26:21 +00:00
homepage = "https://dev.gajim.org/gajim/python-nbxmpp";
description = "Non-blocking Jabber/XMPP module";
license = licenses.gpl3;
2018-03-21 01:08:42 +00:00
maintainers = with maintainers; [ abbradar ];
2017-11-06 10:26:21 +00:00
};
}