at 23.11-beta 1.2 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitLab 4, gobject-introspection 5, idna 6, libsoup_3 7, packaging 8, precis-i18n 9, pygobject3 10, pyopenssl 11, pytestCheckHook 12, pythonOlder 13, setuptools 14}: 15 16buildPythonPackage rec { 17 pname = "nbxmpp"; 18 version = "4.5.0"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.10"; 22 23 src = fetchFromGitLab { 24 domain = "dev.gajim.org"; 25 owner = "gajim"; 26 repo = "python-nbxmpp"; 27 rev = "refs/tags/${version}"; 28 hash = "sha256-7TGP3J4qepnUV/3aC7FssSGu4PahB70DGWezjOy+/+w="; 29 }; 30 31 nativeBuildInputs = [ 32 # required for pythonImportsCheck otherwise libsoup cannot be found 33 gobject-introspection 34 setuptools 35 ]; 36 37 buildInputs = [ 38 precis-i18n 39 ]; 40 41 propagatedBuildInputs = [ 42 gobject-introspection 43 idna 44 libsoup_3 45 packaging 46 pygobject3 47 pyopenssl 48 ]; 49 50 nativeCheckInputs = [ 51 pytestCheckHook 52 ]; 53 54 pythonImportsCheck = [ 55 "nbxmpp" 56 ]; 57 58 meta = with lib; { 59 homepage = "https://dev.gajim.org/gajim/python-nbxmpp"; 60 description = "Non-blocking Jabber/XMPP module"; 61 license = licenses.gpl3Plus; 62 maintainers = with maintainers; [ abbradar ]; 63 }; 64}