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