nixpkgs/pkgs/development/python-modules/nbxmpp/default.nix

32 lines
872 B
Nix
Raw Normal View History

2021-05-04 17:01:22 +00:00
{ lib, buildPythonPackage, pythonOlder, fetchFromGitLab
, gobject-introspection, idna, libsoup, precis-i18n, pygobject3, pyopenssl
}:
2017-11-06 10:26:21 +00:00
2021-05-04 17:01:22 +00:00
buildPythonPackage rec {
2017-11-06 10:26:21 +00:00
pname = "nbxmpp";
2021-05-04 17:01:22 +00:00
version = "2.0.2";
disabled = pythonOlder "3.7";
2018-03-21 01:08:42 +00:00
# Tests aren't included in PyPI tarball.
2021-05-04 17:01:22 +00:00
src = fetchFromGitLab {
domain = "dev.gajim.org";
owner = "gajim";
repo = "python-nbxmpp";
rev = "nbxmpp-${version}";
sha256 = "0z27mxgfk7hvpx0xdrd8g9441rywv74yk7s83zjnc2mc7xvpwhf4";
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
2021-05-04 17:01:22 +00:00
pythonImportsCheck = [ "nbxmpp" ];
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";
2021-05-04 17:01:22 +00:00
license = licenses.gpl3Plus;
2018-03-21 01:08:42 +00:00
maintainers = with maintainers; [ abbradar ];
2017-11-06 10:26:21 +00:00
};
}