My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/nbxmpp/default.nix

52 lines
935 B

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitLab
, gobject-introspection
, idna
, libsoup
, precis-i18n
, pygobject3
, pyopenssl
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "nbxmpp";
version = "3.0.2";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
domain = "dev.gajim.org";
owner = "gajim";
repo = "python-nbxmpp";
rev = "nbxmpp-${version}";
sha256 = "sha256:0wvganymqw90y9mz5a5mh531r2s9z0vrkbfspx5akk98syaq6f5p";
};
buildInputs = [
precis-i18n
];
propagatedBuildInputs = [
gobject-introspection
idna
libsoup
pygobject3
pyopenssl
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "nbxmpp" ];
meta = with lib; {
homepage = "https://dev.gajim.org/gajim/python-nbxmpp";
description = "Non-blocking Jabber/XMPP module";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ abbradar ];
};
}